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