Class CassandraTableGetPropertiesOptions
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.OptionsResource
-
- com.azure.resourcemanager.cosmos.models.CassandraTableGetPropertiesOptions
-
public final class CassandraTableGetPropertiesOptions extends OptionsResource
The CassandraTableGetPropertiesOptions model.
-
-
Constructor Summary
Constructors Constructor Description CassandraTableGetPropertiesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.CassandraTableGetPropertiesOptionswithAutoscaleSettings(AutoscaleSettings autoscaleSettings)Set the autoscaleSettings property: Specifies the Autoscale settings.CassandraTableGetPropertiesOptionswithThroughput(Integer throughput)Set the throughput property: Value of the Cosmos DB resource throughput or autoscaleSettings.-
Methods inherited from class com.azure.resourcemanager.cosmos.models.OptionsResource
autoscaleSettings, throughput
-
-
-
-
Method Detail
-
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:
withThroughputin classOptionsResource- Parameters:
throughput- the throughput value to set.- Returns:
- the OptionsResource object itself.
-
withAutoscaleSettings
public CassandraTableGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)
Set the autoscaleSettings property: Specifies the Autoscale settings.- Overrides:
withAutoscaleSettingsin classOptionsResource- Parameters:
autoscaleSettings- the autoscaleSettings value to set.- Returns:
- the OptionsResource object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classOptionsResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-