Modifier and Type | Method and Description |
---|---|
static CosmosClientBuilder |
CosmosClient.builder()
Instantiate the cosmos client builder to build cosmos client
|
CosmosClientBuilder |
CosmosClientBuilder.connectionPolicy(ConnectionPolicy connectionPolicy)
Sets the (@link ConnectionPolicy) to be used
|
CosmosClientBuilder |
CosmosClientBuilder.consistencyLevel(ConsistencyLevel desiredConsistencyLevel)
Sets the (@link ConsistencyLevel) to be used
|
CosmosClientBuilder |
CosmosClientBuilder.endpoint(String endpoint)
Sets the Azure Cosmos DB endpoint the SDK will connect to
|
CosmosClientBuilder |
CosmosClientBuilder.key(String key)
Sets either a master or readonly key used to perform authentication
for accessing resource.
|
CosmosClientBuilder |
CosmosClientBuilder.permissions(List<com.azure.data.cosmos.internal.Permission> permissions)
Sets the permission list, which contains the
resource tokens needed to access resources.
|
CosmosClientBuilder |
CosmosClientBuilder.resourceToken(String resourceToken)
Sets a resource token used to perform authentication
for accessing resource.
|
CosmosClientBuilder |
CosmosClientBuilder.tokenResolver(TokenResolver tokenResolver)
Sets the token resolver
|
Copyright © 2019. All rights reserved.