Partager via


GremlinDatabaseGetPropertiesOptions Class

public final class GremlinDatabaseGetPropertiesOptions
extends OptionsResource

The GremlinDatabaseGetPropertiesOptions model.

Constructor Summary

Constructor Description
GremlinDatabaseGetPropertiesOptions()

Creates an instance of GremlinDatabaseGetPropertiesOptions class.

Method Summary

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

Reads an instance of GremlinDatabaseGetPropertiesOptions from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GremlinDatabaseGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Set the autoscaleSettings property: Specifies the Autoscale settings.

GremlinDatabaseGetPropertiesOptions 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

GremlinDatabaseGetPropertiesOptions

public GremlinDatabaseGetPropertiesOptions()

Creates an instance of GremlinDatabaseGetPropertiesOptions class.

Method Details

fromJson

public static GremlinDatabaseGetPropertiesOptions fromJson(JsonReader jsonReader)

Reads an instance of GremlinDatabaseGetPropertiesOptions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

GremlinDatabaseGetPropertiesOptions.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

GremlinDatabaseGetPropertiesOptions.validate()

withAutoscaleSettings

public GremlinDatabaseGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Set the autoscaleSettings property: Specifies the Autoscale settings.

Overrides:

GremlinDatabaseGetPropertiesOptions.withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Parameters:

autoscaleSettings

withThroughput

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

GremlinDatabaseGetPropertiesOptions.withThroughput(Integer throughput)

Parameters:

throughput

Applies to