Class GremlinDatabaseCreateUpdateParameters
- java.lang.Object
-
- com.microsoft.azure.management.cosmosdb.GremlinDatabaseCreateUpdateParameters
-
public class GremlinDatabaseCreateUpdateParameters extends Object
Parameters to create and update Cosmos DB Gremlin database.
-
-
Constructor Summary
Constructors Constructor Description GremlinDatabaseCreateUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>options()Get a key-value pair of options to be applied for the request.GremlinDatabaseResourceresource()Get the standard JSON format of a Gremlin database.GremlinDatabaseCreateUpdateParameterswithOptions(Map<String,String> options)Set a key-value pair of options to be applied for the request.GremlinDatabaseCreateUpdateParameterswithResource(GremlinDatabaseResource resource)Set the standard JSON format of a Gremlin database.
-
-
-
Method Detail
-
resource
public GremlinDatabaseResource resource()
Get the standard JSON format of a Gremlin database.- Returns:
- the resource value
-
withResource
public GremlinDatabaseCreateUpdateParameters withResource(GremlinDatabaseResource resource)
Set the standard JSON format of a Gremlin database.- Parameters:
resource- the resource value to set- Returns:
- the GremlinDatabaseCreateUpdateParameters object itself.
-
options
public Map<String,String> options()
Get 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
-
withOptions
public GremlinDatabaseCreateUpdateParameters withOptions(Map<String,String> options)
Set 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 GremlinDatabaseCreateUpdateParameters object itself.
-
-