Partager via


GremlinGraphGetPropertiesOptions Class

public final class GremlinGraphGetPropertiesOptions
extends OptionsResource

The GremlinGraphGetPropertiesOptions model.

Constructor Summary

Constructor Description
GremlinGraphGetPropertiesOptions()

Creates an instance of GremlinGraphGetPropertiesOptions class.

Method Summary

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

Reads an instance of GremlinGraphGetPropertiesOptions from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GremlinGraphGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Set the autoscaleSettings property: Specifies the Autoscale settings.

GremlinGraphGetPropertiesOptions 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

GremlinGraphGetPropertiesOptions

public GremlinGraphGetPropertiesOptions()

Creates an instance of GremlinGraphGetPropertiesOptions class.

Method Details

fromJson

public static GremlinGraphGetPropertiesOptions fromJson(JsonReader jsonReader)

Reads an instance of GremlinGraphGetPropertiesOptions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

GremlinGraphGetPropertiesOptions.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

GremlinGraphGetPropertiesOptions.validate()

withAutoscaleSettings

public GremlinGraphGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Set the autoscaleSettings property: Specifies the Autoscale settings.

Overrides:

GremlinGraphGetPropertiesOptions.withAutoscaleSettings(AutoscaleSettings autoscaleSettings)

Parameters:

autoscaleSettings

withThroughput

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

GremlinGraphGetPropertiesOptions.withThroughput(Integer throughput)

Parameters:

throughput

Applies to