Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.cosmosdb.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.management.cosmosdb.ARMResourceProperties;
An Azure Cosmos DB Gremlin database.
/**
* An Azure Cosmos DB Gremlin database.
*/
@JsonFlatten
public class GremlinDatabaseGetResultsInner extends ARMResourceProperties {
Name of the Cosmos DB Gremlin database.
/**
* Name of the Cosmos DB Gremlin database.
*/
@JsonProperty(value = "properties.id", required = true)
private String gremlinDatabaseGetResultsId;
A system generated property. A unique identifier.
/**
* A system generated property. A unique identifier.
*/
@JsonProperty(value = "properties._rid", access = JsonProperty.Access.WRITE_ONLY)
private String _rid;
A system generated property that denotes the last updated timestamp of
the resource.
/**
* A system generated property that denotes the last updated timestamp of
* the resource.
*/
@JsonProperty(value = "properties._ts", access = JsonProperty.Access.WRITE_ONLY)
private Object _ts;
A system generated property representing the resource etag required for
optimistic concurrency control.
/**
* A system generated property representing the resource etag required for
* optimistic concurrency control.
*/
@JsonProperty(value = "properties._etag", access = JsonProperty.Access.WRITE_ONLY)
private String _etag;
Get name of the Cosmos DB Gremlin database.
Returns: the gremlinDatabaseGetResultsId value
/**
* Get name of the Cosmos DB Gremlin database.
*
* @return the gremlinDatabaseGetResultsId value
*/
public String gremlinDatabaseGetResultsId() {
return this.gremlinDatabaseGetResultsId;
}
Set name of the Cosmos DB Gremlin database.
Params: - gremlinDatabaseGetResultsId – the gremlinDatabaseGetResultsId value to set
Returns: the GremlinDatabaseGetResultsInner object itself.
/**
* Set name of the Cosmos DB Gremlin database.
*
* @param gremlinDatabaseGetResultsId the gremlinDatabaseGetResultsId value to set
* @return the GremlinDatabaseGetResultsInner object itself.
*/
public GremlinDatabaseGetResultsInner withGremlinDatabaseGetResultsId(String gremlinDatabaseGetResultsId) {
this.gremlinDatabaseGetResultsId = gremlinDatabaseGetResultsId;
return this;
}
Get a system generated property. A unique identifier.
Returns: the _rid value
/**
* Get a system generated property. A unique identifier.
*
* @return the _rid value
*/
public String _rid() {
return this._rid;
}
Get a system generated property that denotes the last updated timestamp of the resource.
Returns: the _ts value
/**
* Get a system generated property that denotes the last updated timestamp of the resource.
*
* @return the _ts value
*/
public Object _ts() {
return this._ts;
}
Get a system generated property representing the resource etag required for optimistic concurrency control.
Returns: the _etag value
/**
* Get a system generated property representing the resource etag required for optimistic concurrency control.
*
* @return the _etag value
*/
public String _etag() {
return this._etag;
}
}