CassandraTableGetPropertiesOptions Class

public final class CassandraTableGetPropertiesOptions
extends OptionsResource

The CassandraTableGetPropertiesOptions model.

Constructor Summary

Constructor Description
CassandraTableGetPropertiesOptions()

Creates an instance of CassandraTableGetPropertiesOptions class.

Method Summary

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

Reads an instance of CassandraTableGetPropertiesOptions from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CassandraTableGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Set the autoscaleSettings property: Specifies the Autoscale settings.

CassandraTableGetPropertiesOptions 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

CassandraTableGetPropertiesOptions

public CassandraTableGetPropertiesOptions()

Creates an instance of CassandraTableGetPropertiesOptions class.

Method Details

fromJson

public static CassandraTableGetPropertiesOptions fromJson(JsonReader jsonReader)

Reads an instance of CassandraTableGetPropertiesOptions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CassandraTableGetPropertiesOptions.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

CassandraTableGetPropertiesOptions.validate()

withAutoscaleSettings

public CassandraTableGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Set the autoscaleSettings property: Specifies the Autoscale settings.

Overrides:

CassandraTableGetPropertiesOptions.withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Parameters:

autoscaleSettings

withThroughput

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

CassandraTableGetPropertiesOptions.withThroughput(Integer throughput)

Parameters:

throughput

Applies to