Compartilhar via


GremlinGraphGetResultsInner Class

public final class GremlinGraphGetResultsInner
extends ArmResourceProperties

An Azure Cosmos DB Gremlin graph.

Constructor Summary

Constructor Description
GremlinGraphGetResultsInner()

Creates an instance of GremlinGraphGetResultsInner class.

Method Summary

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

Reads an instance of GremlinGraphGetResultsInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

GremlinGraphGetPropertiesOptions options()

Get the options property: The options property.

GremlinGraphGetPropertiesResource resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

GremlinGraphGetResultsInner withLocation(String location)
GremlinGraphGetResultsInner withOptions(GremlinGraphGetPropertiesOptions options)

Set the options property: The options property.

GremlinGraphGetResultsInner withResource(GremlinGraphGetPropertiesResource resource)

Set the resource property: The resource property.

GremlinGraphGetResultsInner withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from ArmResourceProperties

Methods inherited from java.lang.Object

Constructor Details

GremlinGraphGetResultsInner

public GremlinGraphGetResultsInner()

Creates an instance of GremlinGraphGetResultsInner class.

Method Details

fromJson

public static GremlinGraphGetResultsInner fromJson(JsonReader jsonReader)

Reads an instance of GremlinGraphGetResultsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GremlinGraphGetResultsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

GremlinGraphGetResultsInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

GremlinGraphGetResultsInner.name()

Returns:

the name value.

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)

Overrides:

GremlinGraphGetResultsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

GremlinGraphGetResultsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

GremlinGraphGetResultsInner.validate()

withLocation

public GremlinGraphGetResultsInner withLocation(String location)

Overrides:

GremlinGraphGetResultsInner.withLocation(String location)

Parameters:

location

withOptions

public GremlinGraphGetResultsInner withOptions(GremlinGraphGetPropertiesOptions options)

Set the options property: The options property.

Parameters:

options - the options value to set.

Returns:

the GremlinGraphGetResultsInner object itself.

withResource

public GremlinGraphGetResultsInner withResource(GremlinGraphGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the GremlinGraphGetResultsInner object itself.

withTags

public GremlinGraphGetResultsInner withTags(Map tags)

Overrides:

GremlinGraphGetResultsInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to