public class GremlinGraphResource extends Object
Constructor and Description |
---|
GremlinGraphResource() |
Modifier and Type | Method and Description |
---|---|
ConflictResolutionPolicy |
conflictResolutionPolicy()
Get the conflict resolution policy for the graph.
|
Integer |
defaultTtl()
Get default time to live.
|
String |
id()
Get name of the Cosmos DB Gremlin graph.
|
IndexingPolicy |
indexingPolicy()
Get the configuration of the indexing policy.
|
ContainerPartitionKey |
partitionKey()
Get the configuration of the partition key to be used for partitioning data into multiple partitions.
|
UniqueKeyPolicy |
uniqueKeyPolicy()
Get the unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
|
GremlinGraphResource |
withConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy)
Set the conflict resolution policy for the graph.
|
GremlinGraphResource |
withDefaultTtl(Integer defaultTtl)
Set default time to live.
|
GremlinGraphResource |
withId(String id)
Set name of the Cosmos DB Gremlin graph.
|
GremlinGraphResource |
withIndexingPolicy(IndexingPolicy indexingPolicy)
Set the configuration of the indexing policy.
|
GremlinGraphResource |
withPartitionKey(ContainerPartitionKey partitionKey)
Set the configuration of the partition key to be used for partitioning data into multiple partitions.
|
GremlinGraphResource |
withUniqueKeyPolicy(UniqueKeyPolicy uniqueKeyPolicy)
Set the unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
|
public String id()
public GremlinGraphResource withId(String id)
id
- the id value to setpublic IndexingPolicy indexingPolicy()
public GremlinGraphResource withIndexingPolicy(IndexingPolicy indexingPolicy)
indexingPolicy
- the indexingPolicy value to setpublic ContainerPartitionKey partitionKey()
public GremlinGraphResource withPartitionKey(ContainerPartitionKey partitionKey)
partitionKey
- the partitionKey value to setpublic Integer defaultTtl()
public GremlinGraphResource withDefaultTtl(Integer defaultTtl)
defaultTtl
- the defaultTtl value to setpublic UniqueKeyPolicy uniqueKeyPolicy()
public GremlinGraphResource withUniqueKeyPolicy(UniqueKeyPolicy uniqueKeyPolicy)
uniqueKeyPolicy
- the uniqueKeyPolicy value to setpublic ConflictResolutionPolicy conflictResolutionPolicy()
public GremlinGraphResource withConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy)
conflictResolutionPolicy
- the conflictResolutionPolicy value to setCopyright © 2019. All rights reserved.