Class SqlContainerGetPropertiesOptions
java.lang.Object
com.azure.resourcemanager.cosmos.models.OptionsResource
com.azure.resourcemanager.cosmos.models.SqlContainerGetPropertiesOptions
The SqlContainerGetPropertiesOptions model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SqlContainerGetPropertiesOptions class. -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates the instance.withAutoscaleSettings(AutoscaleSettings autoscaleSettings) Set the autoscaleSettings property: Specifies the Autoscale settings.withThroughput(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
-
Constructor Details
-
SqlContainerGetPropertiesOptions
public SqlContainerGetPropertiesOptions()Creates an instance of SqlContainerGetPropertiesOptions class.
-
-
Method Details
-
withThroughput
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
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.
-