SqlContainerGetPropertiesOptions Class

public final class SqlContainerGetPropertiesOptions
extends OptionsResource

The SqlContainerGetPropertiesOptions model.

Constructor Summary

Constructor Description
SqlContainerGetPropertiesOptions()

Creates an instance of SqlContainerGetPropertiesOptions class.

Method Summary

Modifier and Type Method and Description
static SqlContainerGetPropertiesOptions fromJson(JsonReader jsonReader)

Reads an instance of SqlContainerGetPropertiesOptions from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SqlContainerGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Set the autoscaleSettings property: Specifies the Autoscale settings.

SqlContainerGetPropertiesOptions withThroughput(Integer throughput)

Set the throughput property: Value of the Cosmos DB resource throughput or autoscaleSettings.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlContainerGetPropertiesOptions if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SqlContainerGetPropertiesOptions.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SqlContainerGetPropertiesOptions.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

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:

autoscaleSettings

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:

throughput

Applies to