| Package | Description |
|---|---|
| com.microsoft.azure.cosmos |
| Modifier and Type | Method and Description |
|---|---|
CosmosConfiguration.Builder |
CosmosConfiguration.Builder.withConnectionPolicy(ConnectionPolicy connectionPolicy)
The (@link ConnectionPolicy) to be used
|
CosmosConfiguration.Builder |
CosmosConfiguration.Builder.withConsistencyLevel(ConsistencyLevel desiredConsistencyLevel)
This method accepts the (@link ConsistencyLevel) to be used
|
CosmosConfiguration.Builder |
CosmosConfiguration.Builder.withKeyOrResourceToken(String keyOrResourceToken)
This method will take either key or resource token and perform authentication
for accessing resource.
|
CosmosConfiguration.Builder |
CosmosConfiguration.Builder.withPermissions(List<Permission> permissions)
This method will accept the permission list , which contains the
resource tokens needed to access resources.
|
CosmosConfiguration.Builder |
CosmosConfiguration.Builder.withServiceEndpoint(String serviceEndpoint) |
Copyright © 2019. All rights reserved.