public class GremlinDatabaseCreateUpdateParameters extends ArmResourceProperties
| Constructor and Description |
|---|
GremlinDatabaseCreateUpdateParameters() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
options()
Get the options property: A key-value pair of options to be applied for the request.
|
GremlinDatabaseResource |
resource()
Get the resource property: The standard JSON format of a Gremlin database.
|
void |
validate()
Validates the instance.
|
GremlinDatabaseCreateUpdateParameters |
withOptions(Map<String,String> options)
Set the options property: A key-value pair of options to be applied for the request.
|
GremlinDatabaseCreateUpdateParameters |
withResource(GremlinDatabaseResource resource)
Set the resource property: The standard JSON format of a Gremlin database.
|
public GremlinDatabaseCreateUpdateParameters()
public GremlinDatabaseResource resource()
public GremlinDatabaseCreateUpdateParameters withResource(GremlinDatabaseResource resource)
resource - the resource value to set.public Map<String,String> options()
public GremlinDatabaseCreateUpdateParameters withOptions(Map<String,String> options)
options - the options value to set.public void validate()
validate in class ArmResourcePropertiesIllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.