Class SqlContainerGetPropertiesOptions
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.OptionsResource
-
- com.azure.resourcemanager.cosmos.models.SqlContainerGetPropertiesOptions
-
public final class SqlContainerGetPropertiesOptions extends OptionsResource
The SqlContainerGetPropertiesOptions model.
-
-
Constructor Summary
Constructors Constructor Description SqlContainerGetPropertiesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.SqlContainerGetPropertiesOptionswithAutoscaleSettings(AutoscaleSettings autoscaleSettings)Set the autoscaleSettings property: Specifies the Autoscale settings.SqlContainerGetPropertiesOptionswithThroughput(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 SqlContainerGetPropertiesOptions 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 SqlContainerGetPropertiesOptions 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.
-
-