public interface BlobstoreOptions extends PipelineOptions
Modifier and Type | Interface and Description |
---|---|
static class |
BlobstoreOptions.AzureUserCredentialsFactory
Attempts to load Azure credentials.
|
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.UserAgentFactory
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessKey() |
java.lang.String |
getAccountName() |
java.lang.String |
getAzureConnectionString() |
com.azure.core.credential.TokenCredential |
getAzureCredentialsProvider()
The credential instance that should be used to authenticate against Azure services.
|
@Nullable java.lang.String |
getBlobServiceEndpoint()
The Azure Blobstore service endpoint used by the Blob service client.
|
java.lang.Class<? extends BlobstoreClientBuilderFactory> |
getBlobstoreClientFactoryClass() |
com.azure.storage.blob.models.CustomerProvidedKey |
getCustomerProvidedKey() |
@Nullable com.azure.core.http.HttpClient |
getHttpClient() |
@Nullable com.azure.core.http.HttpPipeline |
getHttpPipeline() |
@Nullable com.azure.core.http.policy.HttpPipelinePolicy |
getPipelinePolicy() |
java.lang.String |
getSasToken() |
void |
setAccessKey(java.lang.String key) |
void |
setAccountName(java.lang.String name) |
void |
setAzureConnectionString(java.lang.String connectionString) |
void |
setAzureCredentialsProvider(com.azure.core.credential.TokenCredential value) |
void |
setBlobServiceEndpoint(java.lang.String endpoint) |
void |
setBlobstoreClientFactoryClass(java.lang.Class<? extends BlobstoreClientBuilderFactory> blobstoreClientFactoryClass) |
void |
setCustomerProvidedKey(com.azure.storage.blob.models.CustomerProvidedKey customerProvidedKey) |
void |
setHttpClient(com.azure.core.http.HttpClient httpClient) |
void |
setHttpPipeline(com.azure.core.http.HttpPipeline httpPipeline) |
void |
setPipelinePolicy(com.azure.core.http.policy.HttpPipelinePolicy pipelinePolicy) |
void |
setSasToken(java.lang.String sasToken) |
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
populateDisplayData
@Default.Class(value=DefaultBlobstoreClientBuilderFactory.class) java.lang.Class<? extends BlobstoreClientBuilderFactory> getBlobstoreClientFactoryClass()
void setBlobstoreClientFactoryClass(java.lang.Class<? extends BlobstoreClientBuilderFactory> blobstoreClientFactoryClass)
@Nullable com.azure.core.http.policy.HttpPipelinePolicy getPipelinePolicy()
void setPipelinePolicy(com.azure.core.http.policy.HttpPipelinePolicy pipelinePolicy)
java.lang.String getAzureConnectionString()
void setAzureConnectionString(java.lang.String connectionString)
java.lang.String getSasToken()
void setSasToken(java.lang.String sasToken)
java.lang.String getAccountName()
void setAccountName(java.lang.String name)
java.lang.String getAccessKey()
void setAccessKey(java.lang.String key)
com.azure.storage.blob.models.CustomerProvidedKey getCustomerProvidedKey()
void setCustomerProvidedKey(com.azure.storage.blob.models.CustomerProvidedKey customerProvidedKey)
@Nullable java.lang.String getBlobServiceEndpoint()
void setBlobServiceEndpoint(java.lang.String endpoint)
@Nullable com.azure.core.http.HttpClient getHttpClient()
void setHttpClient(com.azure.core.http.HttpClient httpClient)
@Nullable com.azure.core.http.HttpPipeline getHttpPipeline()
void setHttpPipeline(com.azure.core.http.HttpPipeline httpPipeline)
@Default.InstanceFactory(value=BlobstoreOptions.AzureUserCredentialsFactory.class) com.azure.core.credential.TokenCredential getAzureCredentialsProvider()
For example, to specify the Azure client id, tenant id, and client secret, specify the
following:
{"@type" : "ClientSecretCredential", "azureClientId": "client_id_value",
"azureTenantId": "tenant_id_value", "azureClientSecret": "client_secret_value"}
void setAzureCredentialsProvider(com.azure.core.credential.TokenCredential value)