GremlinGraphCreateUpdateParameters Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. cosmos. models. ArmResourceProperties - com.
azure. resourcemanager. cosmos. models. GremlinGraphCreateUpdateParameters
- com.
- com.
- com.
- com.
public final class GremlinGraphCreateUpdateParameters
extends ArmResourceProperties
Parameters to create and update Cosmos DB Gremlin graph.
Constructor Summary
Constructor | Description |
---|---|
GremlinGraphCreateUpdateParameters() |
Creates an instance of Gremlin |
Method Summary
Modifier and Type | Method and Description |
---|---|
Create |
options()
Get the options property: A key-value pair of options to be applied for the request. |
Gremlin |
resource()
Get the resource property: The standard JSON format of a Gremlin graph. |
void |
validate()
Validates the instance. |
Gremlin |
withLocation(String location) |
Gremlin |
withOptions(CreateUpdateOptions options)
Set the options property: A key-value pair of options to be applied for the request. |
Gremlin |
withResource(GremlinGraphResource resource)
Set the resource property: The standard JSON format of a Gremlin graph. |
Gremlin |
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:
resource
public GremlinGraphResource resource()
Get the resource property: The standard JSON format of a Gremlin graph.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
GremlinGraphCreateUpdateParameters.validate()withLocation
public GremlinGraphCreateUpdateParameters withLocation(String location)
Overrides:
GremlinGraphCreateUpdateParameters.withLocation(String location)Parameters:
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:
Returns:
withResource
public GremlinGraphCreateUpdateParameters withResource(GremlinGraphResource resource)
Set the resource property: The standard JSON format of a Gremlin graph.
Parameters:
Returns:
withTags
public GremlinGraphCreateUpdateParameters withTags(Map
Overrides:
GremlinGraphCreateUpdateParameters.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for