GremlinDatabaseGetProperties Class

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

Implements

public final class GremlinDatabaseGetProperties
implements JsonSerializable<GremlinDatabaseGetProperties>

The properties of an Azure Cosmos DB SQL database.

Constructor Summary

Constructor Description
GremlinDatabaseGetProperties()

Creates an instance of GremlinDatabaseGetProperties class.

Method Summary

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

Reads an instance of GremlinDatabaseGetProperties from the JsonReader.

GremlinDatabaseGetPropertiesOptions options()

Get the options property: The options property.

GremlinDatabaseGetPropertiesResource resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GremlinDatabaseGetProperties withOptions(GremlinDatabaseGetPropertiesOptions options)

Set the options property: The options property.

GremlinDatabaseGetProperties withResource(GremlinDatabaseGetPropertiesResource resource)

Set the resource property: The resource property.

Methods inherited from java.lang.Object

Constructor Details

GremlinDatabaseGetProperties

public GremlinDatabaseGetProperties()

Creates an instance of GremlinDatabaseGetProperties class.

Method Details

fromJson

public static GremlinDatabaseGetProperties fromJson(JsonReader jsonReader)

Reads an instance of GremlinDatabaseGetProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

options

public GremlinDatabaseGetPropertiesOptions options()

Get the options property: The options property.

Returns:

the options value.

resource

public GremlinDatabaseGetPropertiesResource 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 GremlinDatabaseGetProperties withOptions(GremlinDatabaseGetPropertiesOptions options)

Set the options property: The options property.

Parameters:

options - the options value to set.

Returns:

the GremlinDatabaseGetProperties object itself.

withResource

public GremlinDatabaseGetProperties withResource(GremlinDatabaseGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the GremlinDatabaseGetProperties object itself.

Applies to

Azure SDK for Java

Latest