你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RestorableGremlinGraphGetResultInner Class

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

Implements

public final class RestorableGremlinGraphGetResultInner
implements JsonSerializable<RestorableGremlinGraphGetResultInner>

An Azure Cosmos DB Gremlin graph event.

Constructor Summary

Constructor Description
RestorableGremlinGraphGetResultInner()

Creates an instance of RestorableGremlinGraphGetResultInner class.

Method Summary

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

Reads an instance of RestorableGremlinGraphGetResultInner from the JsonReader.

String id()

Get the id property: The unique resource Identifier of the ARM resource.

String name()

Get the name property: The name of the ARM resource.

RestorableGremlinGraphPropertiesResource resource()

Get the resource property: The resource of an Azure Cosmos DB Gremlin graph event.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of Azure resource.

void validate()

Validates the instance.

RestorableGremlinGraphGetResultInner withResource(RestorableGremlinGraphPropertiesResource resource)

Set the resource property: The resource of an Azure Cosmos DB Gremlin graph event.

Methods inherited from java.lang.Object

Constructor Details

RestorableGremlinGraphGetResultInner

public RestorableGremlinGraphGetResultInner()

Creates an instance of RestorableGremlinGraphGetResultInner class.

Method Details

fromJson

public static RestorableGremlinGraphGetResultInner fromJson(JsonReader jsonReader)

Reads an instance of RestorableGremlinGraphGetResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The unique resource Identifier of the ARM resource.

Returns:

the id value.

name

public String name()

Get the name property: The name of the ARM resource.

Returns:

the name value.

resource

public RestorableGremlinGraphPropertiesResource resource()

Get the resource property: The resource of an Azure Cosmos DB Gremlin graph event.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of Azure resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withResource

public RestorableGremlinGraphGetResultInner withResource(RestorableGremlinGraphPropertiesResource resource)

Set the resource property: The resource of an Azure Cosmos DB Gremlin graph event.

Parameters:

resource - the resource value to set.

Returns:

the RestorableGremlinGraphGetResultInner object itself.

Applies to