CassandraKeyspaceGetPropertiesOptions Class

public final class CassandraKeyspaceGetPropertiesOptions
extends OptionsResource

The CassandraKeyspaceGetPropertiesOptions model.

Method Summary

Modifier and Type Method and Description
AutoscaleSettings autoscaleSettings()

Get the autoscaleSettings property: Specifies the Autoscale settings.

static CassandraKeyspaceGetPropertiesOptions fromJson(JsonReader jsonReader)

Reads an instance of CassandraKeyspaceGetPropertiesOptions from the JsonReader.

Integer throughput()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from OptionsResource

Methods inherited from java.lang.Object

Method Details

autoscaleSettings

public AutoscaleSettings autoscaleSettings()

Get the autoscaleSettings property: Specifies the Autoscale settings.

Overrides:

CassandraKeyspaceGetPropertiesOptions.autoscaleSettings()

Returns:

the autoscaleSettings value.

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.

throughput

public Integer throughput()

Get the throughput property: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.

Overrides:

CassandraKeyspaceGetPropertiesOptions.throughput()

Returns:

the throughput value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CassandraKeyspaceGetPropertiesOptions.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

CassandraKeyspaceGetPropertiesOptions.validate()

Applies to