Class GremlinDatabaseResource
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.GremlinDatabaseResource
-
- Direct Known Subclasses:
GremlinDatabaseGetPropertiesResource
public class GremlinDatabaseResource extends Object
Cosmos DB Gremlin database resource object.
-
-
Constructor Summary
Constructors Constructor Description GremlinDatabaseResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: Name of the Cosmos DB Gremlin database.voidvalidate()Validates the instance.GremlinDatabaseResourcewithId(String id)Set the id property: Name of the Cosmos DB Gremlin database.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Name of the Cosmos DB Gremlin database.- Returns:
- the id value.
-
withId
public GremlinDatabaseResource withId(String id)
Set the id property: Name of the Cosmos DB Gremlin database.- Parameters:
id- the id value to set.- Returns:
- the GremlinDatabaseResource object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-