CassandraKeyspaceGetPropertiesOptions Class

public final class CassandraKeyspaceGetPropertiesOptions
extends OptionsResource

The CassandraKeyspaceGetPropertiesOptions model.

Constructor Summary

Constructor Description
CassandraKeyspaceGetPropertiesOptions()

Creates an instance of CassandraKeyspaceGetPropertiesOptions class.

Method Summary

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

Reads an instance of CassandraKeyspaceGetPropertiesOptions from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CassandraKeyspaceGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Set the autoscaleSettings property: Specifies the Autoscale settings.

CassandraKeyspaceGetPropertiesOptions 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

CassandraKeyspaceGetPropertiesOptions

public CassandraKeyspaceGetPropertiesOptions()

Creates an instance of CassandraKeyspaceGetPropertiesOptions class.

Method Details

fromJson

public static CassandraKeyspaceGetPropertiesOptions fromJson(JsonReader jsonReader)

Reads an instance of CassandraKeyspaceGetPropertiesOptions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CassandraKeyspaceGetPropertiesOptions 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 CassandraKeyspaceGetPropertiesOptions.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CassandraKeyspaceGetPropertiesOptions.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

CassandraKeyspaceGetPropertiesOptions.validate()

withAutoscaleSettings

public CassandraKeyspaceGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Set the autoscaleSettings property: Specifies the Autoscale settings.

Overrides:

CassandraKeyspaceGetPropertiesOptions.withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Parameters:

autoscaleSettings

withThroughput

public CassandraKeyspaceGetPropertiesOptions 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:

CassandraKeyspaceGetPropertiesOptions.withThroughput(Integer throughput)

Parameters:

throughput

Applies to