CassandraKeyspaceGetPropertiesOptions Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. OptionsResource - com.
azure. resourcemanager. cosmos. models. CassandraKeyspaceGetPropertiesOptions
- com.
- com.
public final class CassandraKeyspaceGetPropertiesOptions
extends OptionsResource
The CassandraKeyspaceGetPropertiesOptions model.
Constructor Summary
Constructor | Description |
---|---|
CassandraKeyspaceGetPropertiesOptions() |
Creates an instance of Cassandra |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Cassandra |
fromJson(JsonReader jsonReader)
Reads an instance of Cassandra |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Cassandra |
withAutoscaleSettings(AutoscaleSettings autoscaleSettings)
Set the autoscale |
Cassandra |
withThroughput(Integer throughput)
Set the throughput property: Value of the Cosmos DB resource throughput or autoscale |
Methods inherited from OptionsResource
Methods inherited from java.lang.Object
Constructor Details
CassandraKeyspaceGetPropertiesOptions
public CassandraKeyspaceGetPropertiesOptions()
Creates an instance of CassandraKeyspaceGetPropertiesOptions class.
Method Details
fromJson
public static CassandraKeyspaceGetPropertiesOptions fromJson(JsonReader jsonReader)
Reads an instance of CassandraKeyspaceGetPropertiesOptions from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CassandraKeyspaceGetPropertiesOptions.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
CassandraKeyspaceGetPropertiesOptions.validate()withAutoscaleSettings
public CassandraKeyspaceGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)
Set the autoscaleSettings property: Specifies the Autoscale settings.
Overrides:
CassandraKeyspaceGetPropertiesOptions.withAutoscaleSettings(AutoscaleSettings autoscaleSettings)Parameters:
withThroughput
public CassandraKeyspaceGetPropertiesOptions withThroughput(Integer throughput)
Set the throughput property: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
Overrides:
CassandraKeyspaceGetPropertiesOptions.withThroughput(Integer throughput)Parameters:
Applies to
Azure SDK for Java