GremlinGraphGetProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.fluent.models.GremlinGraphGetProperties

Implements

public final class GremlinGraphGetProperties
implements JsonSerializable<GremlinGraphGetProperties>

The properties of an Azure Cosmos DB Gremlin graph.

Constructor Summary

Constructor Description
GremlinGraphGetProperties()

Creates an instance of GremlinGraphGetProperties class.

Method Summary

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

Reads an instance of GremlinGraphGetProperties from the JsonReader.

GremlinGraphGetPropertiesOptions options()

Get the options property: The options property.

GremlinGraphGetPropertiesResource resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GremlinGraphGetProperties withOptions(GremlinGraphGetPropertiesOptions options)

Set the options property: The options property.

GremlinGraphGetProperties withResource(GremlinGraphGetPropertiesResource resource)

Set the resource property: The resource property.

Methods inherited from java.lang.Object

Constructor Details

GremlinGraphGetProperties

public GremlinGraphGetProperties()

Creates an instance of GremlinGraphGetProperties class.

Method Details

fromJson

public static GremlinGraphGetProperties fromJson(JsonReader jsonReader)

Reads an instance of GremlinGraphGetProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

options

public GremlinGraphGetPropertiesOptions options()

Get the options property: The options property.

Returns:

the options value.

resource

public GremlinGraphGetPropertiesResource resource()

Get the resource property: The resource property.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withOptions

public GremlinGraphGetProperties withOptions(GremlinGraphGetPropertiesOptions options)

Set the options property: The options property.

Parameters:

options - the options value to set.

Returns:

the GremlinGraphGetProperties object itself.

withResource

public GremlinGraphGetProperties withResource(GremlinGraphGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the GremlinGraphGetProperties object itself.

Applies to