Uses of Class
com.azure.data.cosmos.CosmosClientBuilder
-
Packages that use CosmosClientBuilder Package Description com.azure.data.cosmos This package provides Rx interfaces for interacting with Azure Cosmos DB.com.azure.data.cosmos.sync This package provides synchronous interfaces for interacting with Azure Cosmos DB. -
-
Uses of CosmosClientBuilder in com.azure.data.cosmos
Methods in com.azure.data.cosmos that return CosmosClientBuilder Modifier and Type Method Description static CosmosClientBuilder
CosmosClient. builder()
Instantiate the cosmos client builder to build cosmos clientCosmosClientBuilder
CosmosClientBuilder. connectionPolicy(ConnectionPolicy connectionPolicy)
Sets theConnectionPolicy
to be usedCosmosClientBuilder
CosmosClientBuilder. consistencyLevel(ConsistencyLevel desiredConsistencyLevel)
Sets theConsistencyLevel
to be usedCosmosClientBuilder
CosmosClientBuilder. cosmosKeyCredential(CosmosKeyCredential cosmosKeyCredential)
Sets theCosmosKeyCredential
to be usedCosmosClientBuilder
CosmosClientBuilder. endpoint(String endpoint)
Sets the Azure Cosmos DB endpoint the SDK will connect toCosmosClientBuilder
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 -
Uses of CosmosClientBuilder in com.azure.data.cosmos.sync
Methods in com.azure.data.cosmos.sync that return CosmosClientBuilder Modifier and Type Method Description static CosmosClientBuilder
CosmosSyncClient. builder()
Instantiate the cosmos client builder to build cosmos clientConstructors in com.azure.data.cosmos.sync with parameters of type CosmosClientBuilder Constructor Description CosmosSyncClient(CosmosClientBuilder builder)
-