| Modifier and Type | Method and Description |
|---|---|
ContainerResource |
ContainerCreateUpdateParameters.resource()
Get the standard JSON format of a container.
|
ContainerResource |
ContainerResource.withConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy)
Set the conflict resolution policy for the container.
|
ContainerResource |
ContainerResource.withDefaultTtl(Integer defaultTtl)
Set default time to live.
|
ContainerResource |
ContainerResource.withId(String id)
Set name of the Cosmos DB container.
|
ContainerResource |
ContainerResource.withIndexingPolicy(IndexingPolicy indexingPolicy)
Set the configuration of the indexing policy.
|
ContainerResource |
ContainerResource.withPartitionKey(ContainerPartitionKey partitionKey)
Set the configuration of the partition key to be used for partitioning data into multiple partitions.
|
ContainerResource |
ContainerResource.withUniqueKeyPolicy(UniqueKeyPolicy uniqueKeyPolicy)
Set the unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
|
| Modifier and Type | Method and Description |
|---|---|
ContainerCreateUpdateParameters |
ContainerCreateUpdateParameters.withResource(ContainerResource resource)
Set the standard JSON format of a container.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/