GremlinGraphCreateUpdateParameters Class

public final class GremlinGraphCreateUpdateParameters
extends ArmResourceProperties

Parameters to create and update Cosmos DB Gremlin graph.

Constructor Summary

Constructor Description
GremlinGraphCreateUpdateParameters()

Creates an instance of GremlinGraphCreateUpdateParameters class.

Method Summary

Modifier and Type Method and Description
CreateUpdateOptions options()

Get the options property: A key-value pair of options to be applied for the request.

GremlinGraphResource resource()

Get the resource property: The standard JSON format of a Gremlin graph.

void validate()

Validates the instance.

GremlinGraphCreateUpdateParameters withLocation(String location)
GremlinGraphCreateUpdateParameters withOptions(CreateUpdateOptions options)

Set the options property: A key-value pair of options to be applied for the request.

GremlinGraphCreateUpdateParameters withResource(GremlinGraphResource resource)

Set the resource property: The standard JSON format of a Gremlin graph.

GremlinGraphCreateUpdateParameters withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from ArmResourceProperties

Methods inherited from java.lang.Object

Constructor Details

GremlinGraphCreateUpdateParameters

public GremlinGraphCreateUpdateParameters()

Creates an instance of GremlinGraphCreateUpdateParameters class.

Method Details

options

public CreateUpdateOptions options()

Get the options property: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.

Returns:

the options value.

resource

public GremlinGraphResource resource()

Get the resource property: The standard JSON format of a Gremlin graph.

Returns:

the resource value.

validate

public void validate()

Validates the instance.

Overrides:

GremlinGraphCreateUpdateParameters.validate()

withLocation

public GremlinGraphCreateUpdateParameters withLocation(String location)

Overrides:

GremlinGraphCreateUpdateParameters.withLocation(String location)

Parameters:

location

withOptions

public GremlinGraphCreateUpdateParameters withOptions(CreateUpdateOptions options)

Set the options property: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.

Parameters:

options - the options value to set.

Returns:

the GremlinGraphCreateUpdateParameters object itself.

withResource

public GremlinGraphCreateUpdateParameters withResource(GremlinGraphResource resource)

Set the resource property: The standard JSON format of a Gremlin graph.

Parameters:

resource - the resource value to set.

Returns:

the GremlinGraphCreateUpdateParameters object itself.

withTags

public GremlinGraphCreateUpdateParameters withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to