public interface CosmosOptions extends AzureOptions
Modifier and Type | Interface and Description |
---|---|
static class |
CosmosOptions.CosmosClientBuilderFactory
Create a cosmos client from the pipeline options.
|
AzureOptions.AzureUserCredentialsFactory
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.UserAgentFactory
Modifier and Type | Method and Description |
---|---|
com.azure.cosmos.CosmosClientBuilder |
getCosmosClientBuilder() |
@Nullable java.lang.String |
getCosmosKey()
The Azure Cosmos key used to perform authentication for accessing resource.
|
@Nullable java.lang.String |
getCosmosServiceEndpoint()
The Azure Cosmos service endpoint used by the Cosmos client.
|
void |
setCosmosClientBuilder(com.azure.cosmos.CosmosClientBuilder builder) |
void |
setCosmosKey(java.lang.String key) |
void |
setCosmosServiceEndpoint(java.lang.String endpoint) |
getAzureCredentialsProvider, setAzureCredentialsProvider
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
populateDisplayData
@Default.InstanceFactory(value=CosmosOptions.CosmosClientBuilderFactory.class) com.azure.cosmos.CosmosClientBuilder getCosmosClientBuilder()
void setCosmosClientBuilder(com.azure.cosmos.CosmosClientBuilder builder)
@Nullable java.lang.String getCosmosServiceEndpoint()
void setCosmosServiceEndpoint(java.lang.String endpoint)
@Nullable java.lang.String getCosmosKey()
void setCosmosKey(java.lang.String key)