GremlinDatabaseGetResultsInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. cosmos. models. ArmResourceProperties - com.
azure. resourcemanager. cosmos. fluent. models. GremlinDatabaseGetResultsInner
- com.
- com.
- com.
- com.
public final class GremlinDatabaseGetResultsInner
extends ArmResourceProperties
An Azure Cosmos DB Gremlin database.
Constructor Summary
Constructor | Description |
---|---|
GremlinDatabaseGetResultsInner() |
Creates an instance of Gremlin |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Gremlin |
fromJson(JsonReader jsonReader)
Reads an instance of Gremlin |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Gremlin |
options()
Get the options property: The options property. |
Gremlin |
resource()
Get the resource property: The resource property. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Gremlin |
withLocation(String location) |
Gremlin |
withOptions(GremlinDatabaseGetPropertiesOptions options)
Set the options property: The options property. |
Gremlin |
withResource(GremlinDatabaseGetPropertiesResource resource)
Set the resource property: The resource property. |
Gremlin |
withTags(Map<String,String> tags) |
Methods inherited from Resource
Methods inherited from ArmResourceProperties
Methods inherited from java.lang.Object
Constructor Details
GremlinDatabaseGetResultsInner
public GremlinDatabaseGetResultsInner()
Creates an instance of GremlinDatabaseGetResultsInner class.
Method Details
fromJson
public static GremlinDatabaseGetResultsInner fromJson(JsonReader jsonReader)
Reads an instance of GremlinDatabaseGetResultsInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
GremlinDatabaseGetResultsInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
GremlinDatabaseGetResultsInner.name()Returns:
options
public GremlinDatabaseGetPropertiesOptions options()
Get the options property: The options property.
Returns:
resource
public GremlinDatabaseGetPropertiesResource resource()
Get the resource property: The resource property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GremlinDatabaseGetResultsInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
GremlinDatabaseGetResultsInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
GremlinDatabaseGetResultsInner.validate()withLocation
public GremlinDatabaseGetResultsInner withLocation(String location)
Overrides:
GremlinDatabaseGetResultsInner.withLocation(String location)Parameters:
withOptions
public GremlinDatabaseGetResultsInner withOptions(GremlinDatabaseGetPropertiesOptions options)
Set the options property: The options property.
Parameters:
Returns:
withResource
public GremlinDatabaseGetResultsInner withResource(GremlinDatabaseGetPropertiesResource resource)
Set the resource property: The resource property.
Parameters:
Returns:
withTags
public GremlinDatabaseGetResultsInner withTags(Map
Overrides:
GremlinDatabaseGetResultsInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java