CassandraTableGetPropertiesOptions Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. OptionsResource - com.
azure. resourcemanager. cosmos. models. CassandraTableGetPropertiesOptions
- com.
- com.
public final class CassandraTableGetPropertiesOptions
extends OptionsResource
The CassandraTableGetPropertiesOptions model.
Constructor Summary
Constructor | Description |
---|---|
CassandraTableGetPropertiesOptions() |
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
CassandraTableGetPropertiesOptions
public CassandraTableGetPropertiesOptions()
Creates an instance of CassandraTableGetPropertiesOptions class.
Method Details
fromJson
public static CassandraTableGetPropertiesOptions fromJson(JsonReader jsonReader)
Reads an instance of CassandraTableGetPropertiesOptions from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CassandraTableGetPropertiesOptions.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
CassandraTableGetPropertiesOptions.validate()withAutoscaleSettings
public CassandraTableGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)
Set the autoscaleSettings property: Specifies the Autoscale settings.
Overrides:
CassandraTableGetPropertiesOptions.withAutoscaleSettings(AutoscaleSettings autoscaleSettings)Parameters:
withThroughput
public CassandraTableGetPropertiesOptions 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:
CassandraTableGetPropertiesOptions.withThroughput(Integer throughput)Parameters:
Applies to
Azure SDK for Java