Partilhar via


TableGetPropertiesOptions Class

public final class TableGetPropertiesOptions
extends OptionsResource

The TableGetPropertiesOptions model.

Constructor Summary

Constructor Description
TableGetPropertiesOptions()

Creates an instance of TableGetPropertiesOptions class.

Method Summary

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

Reads an instance of TableGetPropertiesOptions from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TableGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Set the autoscaleSettings property: Specifies the Autoscale settings.

TableGetPropertiesOptions 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

TableGetPropertiesOptions

public TableGetPropertiesOptions()

Creates an instance of TableGetPropertiesOptions class.

Method Details

fromJson

public static TableGetPropertiesOptions fromJson(JsonReader jsonReader)

Reads an instance of TableGetPropertiesOptions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

TableGetPropertiesOptions.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

TableGetPropertiesOptions.validate()

withAutoscaleSettings

public TableGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Set the autoscaleSettings property: Specifies the Autoscale settings.

Overrides:

TableGetPropertiesOptions.withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Parameters:

autoscaleSettings

withThroughput

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

TableGetPropertiesOptions.withThroughput(Integer throughput)

Parameters:

throughput

Applies to