354 строки
47 KiB
YAML
354 строки
47 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.storage.blob.BlobServiceClientBuilder"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder"
|
|
name: "BlobServiceClientBuilder"
|
|
nameWithType: "BlobServiceClientBuilder"
|
|
summary: "This class provides a fluent builder API to help aid the configuration and instantiation of <xref uid=\"com.azure.storage.blob.BlobServiceClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobServiceClients\"></xref> and <xref uid=\"com.azure.storage.blob.BlobServiceAsyncClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobServiceAsyncClients\"></xref>, call <xref uid=\"com.azure.storage.blob.BlobServiceClientBuilder.buildClient()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"buildClient\"></xref> and <xref uid=\"com.azure.storage.blob.BlobServiceClientBuilder.buildAsyncClient()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"buildAsyncClient\"></xref> respectively to construct an instance of the desired client."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **BlobServiceClientBuilder**</br> implements <xref href=\"com.azure.core.client.traits.TokenCredentialTrait?alt=com.azure.core.client.traits.TokenCredentialTrait&text=TokenCredentialTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.azure.core.client.traits.ConnectionStringTrait?alt=com.azure.core.client.traits.ConnectionStringTrait&text=ConnectionStringTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.azure.core.client.traits.AzureNamedKeyCredentialTrait?alt=com.azure.core.client.traits.AzureNamedKeyCredentialTrait&text=AzureNamedKeyCredentialTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.azure.core.client.traits.AzureSasCredentialTrait?alt=com.azure.core.client.traits.AzureSasCredentialTrait&text=AzureSasCredentialTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.azure.core.client.traits.HttpTrait?alt=com.azure.core.client.traits.HttpTrait&text=HttpTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.azure.core.client.traits.ConfigurationTrait?alt=com.azure.core.client.traits.ConfigurationTrait&text=ConfigurationTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.azure.core.client.traits.EndpointTrait?alt=com.azure.core.client.traits.EndpointTrait&text=EndpointTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.BlobServiceClientBuilder()"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.BlobServiceClientBuilder()"
|
|
name: "BlobServiceClientBuilder()"
|
|
nameWithType: "BlobServiceClientBuilder.BlobServiceClientBuilder()"
|
|
summary: "Creates a builder instance that is able to configure and construct <xref uid=\"com.azure.storage.blob.BlobServiceClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobServiceClients\"></xref> and <xref uid=\"com.azure.storage.blob.BlobServiceAsyncClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobServiceAsyncClients\"></xref>."
|
|
syntax: "public BlobServiceClientBuilder()"
|
|
desc: "Creates a builder instance that is able to configure and construct <xref uid=\"com.azure.storage.blob.BlobServiceClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobServiceClients\"></xref> and <xref uid=\"com.azure.storage.blob.BlobServiceAsyncClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobServiceAsyncClients\"></xref>."
|
|
methods:
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.addPolicy(HttpPipelinePolicy pipelinePolicy)"
|
|
name: "addPolicy(HttpPipelinePolicy pipelinePolicy)"
|
|
nameWithType: "BlobServiceClientBuilder.addPolicy(HttpPipelinePolicy pipelinePolicy)"
|
|
summary: "Adds a <xref uid=\"com.azure.core.http.policy.HttpPipelinePolicy\" data-throw-if-not-resolved=\"false\" data-raw-source=\"pipeline policy\"></xref> to apply on each request sent."
|
|
parameters:
|
|
- description: "A <xref uid=\"com.azure.core.http.policy.HttpPipelinePolicy\" data-throw-if-not-resolved=\"false\" data-raw-source=\"pipeline policy\"></xref>."
|
|
name: "pipelinePolicy"
|
|
type: "<xref href=\"com.azure.core.http.policy.HttpPipelinePolicy?alt=com.azure.core.http.policy.HttpPipelinePolicy&text=HttpPipelinePolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder addPolicy(HttpPipelinePolicy pipelinePolicy)"
|
|
desc: "Adds a <xref uid=\"com.azure.core.http.policy.HttpPipelinePolicy\" data-throw-if-not-resolved=\"false\" data-raw-source=\"pipeline policy\"></xref> to apply on each request sent.\n\n**Note:** It is important to understand the precedence order of the HttpTrait APIs. In particular, if a <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, this takes precedence over all other APIs in the trait, and they will be ignored. If no <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, a HTTP pipeline will be constructed internally based on the settings provided to this trait. Additionally, there may be other APIs in types that implement this trait that are also ignored if an <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, so please be sure to refer to the documentation of types that implement this trait to understand the full set of implications."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.audience(com.azure.storage.blob.models.BlobAudience)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.audience(BlobAudience audience)"
|
|
name: "audience(BlobAudience audience)"
|
|
nameWithType: "BlobServiceClientBuilder.audience(BlobAudience audience)"
|
|
summary: "Sets the Audience to use for authentication with Azure Active Directory (AAD)."
|
|
parameters:
|
|
- description: "<xref uid=\"com.azure.storage.blob.models.BlobAudience\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobAudience\"></xref> to be used when requesting a token from Azure Active Directory (AAD)."
|
|
name: "audience"
|
|
type: "<xref href=\"com.azure.storage.blob.models.BlobAudience?alt=com.azure.storage.blob.models.BlobAudience&text=BlobAudience\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder audience(BlobAudience audience)"
|
|
desc: "Sets the Audience to use for authentication with Azure Active Directory (AAD). The audience is not considered when using a shared key."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.blobContainerEncryptionScope(com.azure.storage.blob.models.BlobContainerEncryptionScope)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.blobContainerEncryptionScope(BlobContainerEncryptionScope blobContainerEncryptionScope)"
|
|
name: "blobContainerEncryptionScope(BlobContainerEncryptionScope blobContainerEncryptionScope)"
|
|
nameWithType: "BlobServiceClientBuilder.blobContainerEncryptionScope(BlobContainerEncryptionScope blobContainerEncryptionScope)"
|
|
summary: "Sets the <xref uid=\"com.azure.storage.blob.models.BlobContainerEncryptionScope\" data-throw-if-not-resolved=\"false\" data-raw-source=\"encryption scope\"></xref> that is used to determine how blob contents are encrypted on the server."
|
|
parameters:
|
|
- description: "Encryption scope containing the encryption key information."
|
|
name: "blobContainerEncryptionScope"
|
|
type: "<xref href=\"com.azure.storage.blob.models.BlobContainerEncryptionScope?alt=com.azure.storage.blob.models.BlobContainerEncryptionScope&text=BlobContainerEncryptionScope\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder blobContainerEncryptionScope(BlobContainerEncryptionScope blobContainerEncryptionScope)"
|
|
desc: "Sets the <xref uid=\"com.azure.storage.blob.models.BlobContainerEncryptionScope\" data-throw-if-not-resolved=\"false\" data-raw-source=\"encryption scope\"></xref> that is used to determine how blob contents are encrypted on the server."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.buildAsyncClient()"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.buildAsyncClient()"
|
|
name: "buildAsyncClient()"
|
|
nameWithType: "BlobServiceClientBuilder.buildAsyncClient()"
|
|
syntax: "public BlobServiceAsyncClient buildAsyncClient()"
|
|
returns:
|
|
description: "a <xref uid=\"com.azure.storage.blob.BlobServiceAsyncClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobServiceAsyncClient\"></xref> created from the configurations in this builder."
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceAsyncClient?alt=com.azure.storage.blob.BlobServiceAsyncClient&text=BlobServiceAsyncClient\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.buildClient()"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.buildClient()"
|
|
name: "buildClient()"
|
|
nameWithType: "BlobServiceClientBuilder.buildClient()"
|
|
syntax: "public BlobServiceClient buildClient()"
|
|
returns:
|
|
description: "a <xref uid=\"com.azure.storage.blob.BlobServiceClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobServiceClient\"></xref> created from the configurations in this builder."
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClient?alt=com.azure.storage.blob.BlobServiceClient&text=BlobServiceClient\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.clientOptions(com.azure.core.util.ClientOptions)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.clientOptions(ClientOptions clientOptions)"
|
|
name: "clientOptions(ClientOptions clientOptions)"
|
|
nameWithType: "BlobServiceClientBuilder.clientOptions(ClientOptions clientOptions)"
|
|
summary: "Allows for setting common properties such as application ID, headers, proxy configuration, etc."
|
|
parameters:
|
|
- description: "A configured instance of <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClientOptions\"></xref>."
|
|
name: "clientOptions"
|
|
type: "<xref href=\"com.azure.core.util.ClientOptions?alt=com.azure.core.util.ClientOptions&text=ClientOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder clientOptions(ClientOptions clientOptions)"
|
|
desc: "Allows for setting common properties such as application ID, headers, proxy configuration, etc. Note that it is recommended that this method be called with an instance of the <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClientOptions\"></xref> class (a subclass of the <xref uid=\"com.azure.core.util.ClientOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ClientOptions\"></xref> base class). The HttpClientOptions subclass provides more configuration options suitable for HTTP clients, which is applicable for any class that implements this HttpTrait interface.\n\n**Note:** It is important to understand the precedence order of the HttpTrait APIs. In particular, if a <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, this takes precedence over all other APIs in the trait, and they will be ignored. If no <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, a HTTP pipeline will be constructed internally based on the settings provided to this trait. Additionally, there may be other APIs in types that implement this trait that are also ignored if an <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, so please be sure to refer to the documentation of types that implement this trait to understand the full set of implications."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.configuration(com.azure.core.util.Configuration)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.configuration(Configuration configuration)"
|
|
name: "configuration(Configuration configuration)"
|
|
nameWithType: "BlobServiceClientBuilder.configuration(Configuration configuration)"
|
|
summary: "Sets the configuration object used to retrieve environment configuration values during building of the client."
|
|
parameters:
|
|
- description: "Configuration store used to retrieve environment configurations."
|
|
name: "configuration"
|
|
type: "<xref href=\"com.azure.core.util.Configuration?alt=com.azure.core.util.Configuration&text=Configuration\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder configuration(Configuration configuration)"
|
|
desc: "Sets the configuration object used to retrieve environment configuration values during building of the client."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.connectionString(java.lang.String)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.connectionString(String connectionString)"
|
|
name: "connectionString(String connectionString)"
|
|
nameWithType: "BlobServiceClientBuilder.connectionString(String connectionString)"
|
|
summary: "Sets the connection string to connect to the service."
|
|
parameters:
|
|
- description: "Connection string of the storage account."
|
|
name: "connectionString"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public BlobServiceClientBuilder connectionString(String connectionString)"
|
|
desc: "Sets the connection string to connect to the service."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.credential(com.azure.core.credential.AzureNamedKeyCredential)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.credential(AzureNamedKeyCredential credential)"
|
|
name: "credential(AzureNamedKeyCredential credential)"
|
|
nameWithType: "BlobServiceClientBuilder.credential(AzureNamedKeyCredential credential)"
|
|
summary: "Sets the <xref uid=\"com.azure.core.credential.AzureNamedKeyCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureNamedKeyCredential\"></xref> used to authorize requests sent to the service."
|
|
parameters:
|
|
- description: "<xref uid=\"com.azure.core.credential.AzureNamedKeyCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureNamedKeyCredential\"></xref>."
|
|
name: "credential"
|
|
type: "<xref href=\"com.azure.core.credential.AzureNamedKeyCredential?alt=com.azure.core.credential.AzureNamedKeyCredential&text=AzureNamedKeyCredential\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder credential(AzureNamedKeyCredential credential)"
|
|
desc: "Sets the <xref uid=\"com.azure.core.credential.AzureNamedKeyCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureNamedKeyCredential\"></xref> used to authorize requests sent to the service."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.credential(com.azure.core.credential.AzureSasCredential)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.credential(AzureSasCredential credential)"
|
|
name: "credential(AzureSasCredential credential)"
|
|
nameWithType: "BlobServiceClientBuilder.credential(AzureSasCredential credential)"
|
|
summary: "Sets the <xref uid=\"com.azure.core.credential.AzureSasCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureSasCredential\"></xref> used to authorize requests sent to the service."
|
|
parameters:
|
|
- description: "<xref uid=\"com.azure.core.credential.AzureSasCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureSasCredential\"></xref> used to authorize requests sent to the service."
|
|
name: "credential"
|
|
type: "<xref href=\"com.azure.core.credential.AzureSasCredential?alt=com.azure.core.credential.AzureSasCredential&text=AzureSasCredential\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder credential(AzureSasCredential credential)"
|
|
desc: "Sets the <xref uid=\"com.azure.core.credential.AzureSasCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureSasCredential\"></xref> used to authorize requests sent to the service."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.credential(com.azure.core.credential.TokenCredential)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.credential(TokenCredential credential)"
|
|
name: "credential(TokenCredential credential)"
|
|
nameWithType: "BlobServiceClientBuilder.credential(TokenCredential credential)"
|
|
summary: "Sets the <xref uid=\"com.azure.core.credential.TokenCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TokenCredential\"></xref> used to authorize requests sent to the service."
|
|
parameters:
|
|
- description: "<xref uid=\"com.azure.core.credential.TokenCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TokenCredential\"></xref> used to authorize requests sent to the service."
|
|
name: "credential"
|
|
type: "<xref href=\"com.azure.core.credential.TokenCredential?alt=com.azure.core.credential.TokenCredential&text=TokenCredential\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder credential(TokenCredential credential)"
|
|
desc: "Sets the <xref uid=\"com.azure.core.credential.TokenCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TokenCredential\"></xref> used to authorize requests sent to the service. Refer to the Azure SDK for Java [identity and authentication][] documentation for more details on proper usage of the <xref uid=\"com.azure.core.credential.TokenCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TokenCredential\"></xref> type.\n\n\n[identity and authentication]: https://aka.ms/azsdk/java/docs/identity"
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.credential(com.azure.storage.common.StorageSharedKeyCredential)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.credential(StorageSharedKeyCredential credential)"
|
|
name: "credential(StorageSharedKeyCredential credential)"
|
|
nameWithType: "BlobServiceClientBuilder.credential(StorageSharedKeyCredential credential)"
|
|
summary: "Sets the <xref uid=\"com.azure.storage.common.StorageSharedKeyCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"StorageSharedKeyCredential\"></xref> used to authorize requests sent to the service."
|
|
parameters:
|
|
- description: "<xref uid=\"com.azure.storage.common.StorageSharedKeyCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"StorageSharedKeyCredential\"></xref>."
|
|
name: "credential"
|
|
type: "<xref href=\"com.azure.storage.common.StorageSharedKeyCredential?alt=com.azure.storage.common.StorageSharedKeyCredential&text=StorageSharedKeyCredential\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder credential(StorageSharedKeyCredential credential)"
|
|
desc: "Sets the <xref uid=\"com.azure.storage.common.StorageSharedKeyCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"StorageSharedKeyCredential\"></xref> used to authorize requests sent to the service."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.customerProvidedKey(com.azure.storage.blob.models.CustomerProvidedKey)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.customerProvidedKey(CustomerProvidedKey customerProvidedKey)"
|
|
name: "customerProvidedKey(CustomerProvidedKey customerProvidedKey)"
|
|
nameWithType: "BlobServiceClientBuilder.customerProvidedKey(CustomerProvidedKey customerProvidedKey)"
|
|
summary: "Sets the <xref uid=\"com.azure.storage.blob.models.CustomerProvidedKey\" data-throw-if-not-resolved=\"false\" data-raw-source=\"customer provided key\"></xref> that is used to encrypt blob contents on the server."
|
|
parameters:
|
|
- description: "Customer provided key containing the encryption key information."
|
|
name: "customerProvidedKey"
|
|
type: "<xref href=\"com.azure.storage.blob.models.CustomerProvidedKey?alt=com.azure.storage.blob.models.CustomerProvidedKey&text=CustomerProvidedKey\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder customerProvidedKey(CustomerProvidedKey customerProvidedKey)"
|
|
desc: "Sets the <xref uid=\"com.azure.storage.blob.models.CustomerProvidedKey\" data-throw-if-not-resolved=\"false\" data-raw-source=\"customer provided key\"></xref> that is used to encrypt blob contents on the server."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.encryptionScope(java.lang.String)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.encryptionScope(String encryptionScope)"
|
|
name: "encryptionScope(String encryptionScope)"
|
|
nameWithType: "BlobServiceClientBuilder.encryptionScope(String encryptionScope)"
|
|
summary: "Sets the `encryption scope` that is used to encrypt blob contents on the server."
|
|
parameters:
|
|
- description: "Encryption scope containing the encryption key information."
|
|
name: "encryptionScope"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public BlobServiceClientBuilder encryptionScope(String encryptionScope)"
|
|
desc: "Sets the `encryption scope` that is used to encrypt blob contents on the server."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.endpoint(java.lang.String)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.endpoint(String endpoint)"
|
|
name: "endpoint(String endpoint)"
|
|
nameWithType: "BlobServiceClientBuilder.endpoint(String endpoint)"
|
|
summary: "Sets the blob service endpoint, additionally parses it for information (SAS token)"
|
|
parameters:
|
|
- description: "URL of the service"
|
|
name: "endpoint"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public BlobServiceClientBuilder endpoint(String endpoint)"
|
|
desc: "Sets the blob service endpoint, additionally parses it for information (SAS token)"
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.getDefaultHttpLogOptions()"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.getDefaultHttpLogOptions()"
|
|
name: "getDefaultHttpLogOptions()"
|
|
nameWithType: "BlobServiceClientBuilder.getDefaultHttpLogOptions()"
|
|
summary: "Gets the default Storage allowlist log headers and query parameters."
|
|
modifiers:
|
|
- "static"
|
|
syntax: "public static HttpLogOptions getDefaultHttpLogOptions()"
|
|
desc: "Gets the default Storage allowlist log headers and query parameters."
|
|
returns:
|
|
description: "the default http log options."
|
|
type: "<xref href=\"com.azure.core.http.policy.HttpLogOptions?alt=com.azure.core.http.policy.HttpLogOptions&text=HttpLogOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.httpClient(com.azure.core.http.HttpClient)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.httpClient(HttpClient httpClient)"
|
|
name: "httpClient(HttpClient httpClient)"
|
|
nameWithType: "BlobServiceClientBuilder.httpClient(HttpClient httpClient)"
|
|
summary: "Sets the <xref uid=\"com.azure.core.http.HttpClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClient\"></xref> to use for sending and receiving requests to and from the service."
|
|
parameters:
|
|
- description: "The <xref uid=\"com.azure.core.http.HttpClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClient\"></xref> to use for requests."
|
|
name: "httpClient"
|
|
type: "<xref href=\"com.azure.core.http.HttpClient?alt=com.azure.core.http.HttpClient&text=HttpClient\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder httpClient(HttpClient httpClient)"
|
|
desc: "Sets the <xref uid=\"com.azure.core.http.HttpClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClient\"></xref> to use for sending and receiving requests to and from the service.\n\n**Note:** It is important to understand the precedence order of the HttpTrait APIs. In particular, if a <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, this takes precedence over all other APIs in the trait, and they will be ignored. If no <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, a HTTP pipeline will be constructed internally based on the settings provided to this trait. Additionally, there may be other APIs in types that implement this trait that are also ignored if an <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, so please be sure to refer to the documentation of types that implement this trait to understand the full set of implications."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.httpLogOptions(HttpLogOptions logOptions)"
|
|
name: "httpLogOptions(HttpLogOptions logOptions)"
|
|
nameWithType: "BlobServiceClientBuilder.httpLogOptions(HttpLogOptions logOptions)"
|
|
summary: "Sets the <xref uid=\"com.azure.core.http.policy.HttpLogOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"logging configuration\"></xref> to use when sending and receiving requests to and from the service."
|
|
parameters:
|
|
- description: "The <xref uid=\"com.azure.core.http.policy.HttpLogOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"logging configuration\"></xref> to use when sending and receiving requests to\n and from the service."
|
|
name: "logOptions"
|
|
type: "<xref href=\"com.azure.core.http.policy.HttpLogOptions?alt=com.azure.core.http.policy.HttpLogOptions&text=HttpLogOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder httpLogOptions(HttpLogOptions logOptions)"
|
|
desc: "Sets the <xref uid=\"com.azure.core.http.policy.HttpLogOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"logging configuration\"></xref> to use when sending and receiving requests to and from the service. If a `logLevel` is not provided, default value of <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpLogDetailLevel#NONE\"></xref> is set.\n\n**Note:** It is important to understand the precedence order of the HttpTrait APIs. In particular, if a <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, this takes precedence over all other APIs in the trait, and they will be ignored. If no <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, a HTTP pipeline will be constructed internally based on the settings provided to this trait. Additionally, there may be other APIs in types that implement this trait that are also ignored if an <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, so please be sure to refer to the documentation of types that implement this trait to understand the full set of implications."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.pipeline(com.azure.core.http.HttpPipeline)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.pipeline(HttpPipeline httpPipeline)"
|
|
name: "pipeline(HttpPipeline httpPipeline)"
|
|
nameWithType: "BlobServiceClientBuilder.pipeline(HttpPipeline httpPipeline)"
|
|
summary: "Sets the <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> to use for the service client."
|
|
parameters:
|
|
- description: "<xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> to use for sending service requests and receiving responses."
|
|
name: "httpPipeline"
|
|
type: "<xref href=\"com.azure.core.http.HttpPipeline?alt=com.azure.core.http.HttpPipeline&text=HttpPipeline\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder pipeline(HttpPipeline httpPipeline)"
|
|
desc: "Sets the <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> to use for the service client.\n\n**Note:** It is important to understand the precedence order of the HttpTrait APIs. In particular, if a <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, this takes precedence over all other APIs in the trait, and they will be ignored. If no <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, a HTTP pipeline will be constructed internally based on the settings provided to this trait. Additionally, there may be other APIs in types that implement this trait that are also ignored if an <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, so please be sure to refer to the documentation of types that implement this trait to understand the full set of implications.\n\nThe <xref uid=\"com.azure.storage.blob.BlobServiceClientBuilder.endpoint(java.lang.String)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"endpoint\"></xref> is not ignored when `pipeline` is set."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.retryOptions(com.azure.core.http.policy.RetryOptions)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.retryOptions(RetryOptions retryOptions)"
|
|
name: "retryOptions(RetryOptions retryOptions)"
|
|
nameWithType: "BlobServiceClientBuilder.retryOptions(RetryOptions retryOptions)"
|
|
summary: "Sets the <xref uid=\"com.azure.core.http.policy.RetryOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"RetryOptions\"></xref> for all the requests made through the client."
|
|
parameters:
|
|
- description: "The <xref uid=\"com.azure.core.http.policy.RetryOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"RetryOptions\"></xref> to use for all the requests made through the client."
|
|
name: "retryOptions"
|
|
type: "<xref href=\"com.azure.core.http.policy.RetryOptions?alt=com.azure.core.http.policy.RetryOptions&text=RetryOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder retryOptions(RetryOptions retryOptions)"
|
|
desc: "Sets the <xref uid=\"com.azure.core.http.policy.RetryOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"RetryOptions\"></xref> for all the requests made through the client.\n\n**Note:** It is important to understand the precedence order of the HttpTrait APIs. In particular, if a <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, this takes precedence over all other APIs in the trait, and they will be ignored. If no <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, a HTTP pipeline will be constructed internally based on the settings provided to this trait. Additionally, there may be other APIs in types that implement this trait that are also ignored if an <xref uid=\"com.azure.core.http.HttpPipeline\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpPipeline\"></xref> is specified, so please be sure to refer to the documentation of types that implement this trait to understand the full set of implications.\n\nSetting this is mutually exclusive with using <xref uid=\"com.azure.storage.blob.BlobServiceClientBuilder.retryOptions(com.azure.storage.common.policy.RequestRetryOptions)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#retryOptions(RequestRetryOptions)\"></xref>. Consider using <xref uid=\"com.azure.storage.blob.BlobServiceClientBuilder.retryOptions(com.azure.storage.common.policy.RequestRetryOptions)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#retryOptions(RequestRetryOptions)\"></xref> to also set storage specific options."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.retryOptions(com.azure.storage.common.policy.RequestRetryOptions)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.retryOptions(RequestRetryOptions retryOptions)"
|
|
name: "retryOptions(RequestRetryOptions retryOptions)"
|
|
nameWithType: "BlobServiceClientBuilder.retryOptions(RequestRetryOptions retryOptions)"
|
|
summary: "Sets the request retry options for all the requests made through the client."
|
|
parameters:
|
|
- description: "<xref uid=\"com.azure.storage.common.policy.RequestRetryOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"RequestRetryOptions\"></xref>."
|
|
name: "retryOptions"
|
|
type: "<xref href=\"com.azure.storage.common.policy.RequestRetryOptions?alt=com.azure.storage.common.policy.RequestRetryOptions&text=RequestRetryOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder retryOptions(RequestRetryOptions retryOptions)"
|
|
desc: "Sets the request retry options for all the requests made through the client. Setting this is mutually exclusive with using <xref uid=\"com.azure.storage.blob.BlobServiceClientBuilder.retryOptions(com.azure.core.http.policy.RetryOptions)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#retryOptions(RetryOptions)\"></xref>."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.sasToken(java.lang.String)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.sasToken(String sasToken)"
|
|
name: "sasToken(String sasToken)"
|
|
nameWithType: "BlobServiceClientBuilder.sasToken(String sasToken)"
|
|
summary: "Sets the SAS token used to authorize requests sent to the service."
|
|
parameters:
|
|
- description: "The SAS token to use for authenticating requests. This string should only be the query parameters\n (with or without a leading '?') and not a full url."
|
|
name: "sasToken"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public BlobServiceClientBuilder sasToken(String sasToken)"
|
|
desc: "Sets the SAS token used to authorize requests sent to the service."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.BlobServiceClientBuilder.serviceVersion(com.azure.storage.blob.BlobServiceVersion)"
|
|
fullName: "com.azure.storage.blob.BlobServiceClientBuilder.serviceVersion(BlobServiceVersion version)"
|
|
name: "serviceVersion(BlobServiceVersion version)"
|
|
nameWithType: "BlobServiceClientBuilder.serviceVersion(BlobServiceVersion version)"
|
|
summary: "Sets the <xref uid=\"com.azure.storage.blob.BlobServiceVersion\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobServiceVersion\"></xref> that is used when making API requests."
|
|
parameters:
|
|
- description: "<xref uid=\"com.azure.storage.blob.BlobServiceVersion\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobServiceVersion\"></xref> of the service to be used when making requests."
|
|
name: "version"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceVersion?alt=com.azure.storage.blob.BlobServiceVersion&text=BlobServiceVersion\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public BlobServiceClientBuilder serviceVersion(BlobServiceVersion version)"
|
|
desc: "Sets the <xref uid=\"com.azure.storage.blob.BlobServiceVersion\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobServiceVersion\"></xref> that is used when making API requests.\n\nIf a service version is not provided, the service version that will be used will be the latest known service version based on the version of the client library being used. If no service version is specified, updating to a newer version of the client library will have the result of potentially moving to a newer service version.\n\nTargeting a specific service version may also mean that the service will return an error for newer APIs."
|
|
returns:
|
|
description: "the updated BlobServiceClientBuilder object"
|
|
type: "<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "This class provides a fluent builder API to help aid the configuration and instantiation of <xref uid=\"com.azure.storage.blob.BlobServiceClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobServiceClients\"></xref> and <xref uid=\"com.azure.storage.blob.BlobServiceAsyncClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BlobServiceAsyncClients\"></xref>, call <xref uid=\"com.azure.storage.blob.BlobServiceClientBuilder.buildClient()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"buildClient\"></xref> and <xref uid=\"com.azure.storage.blob.BlobServiceClientBuilder.buildAsyncClient()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"buildAsyncClient\"></xref> respectively to construct an instance of the desired client.\n\nThe following information must be provided on this builder:\n\n * the endpoint through `.endpoint()`, in the format of `https://{accountName}.blob.core.windows.net`.\n * the credential through `.credential()` or `.connectionString()` if the container is not publicly accessible."
|
|
implements:
|
|
- "<xref href=\"com.azure.core.client.traits.AzureNamedKeyCredentialTrait?alt=com.azure.core.client.traits.AzureNamedKeyCredentialTrait&text=AzureNamedKeyCredentialTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.azure.core.client.traits.AzureSasCredentialTrait?alt=com.azure.core.client.traits.AzureSasCredentialTrait&text=AzureSasCredentialTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.azure.core.client.traits.ConfigurationTrait?alt=com.azure.core.client.traits.ConfigurationTrait&text=ConfigurationTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.azure.core.client.traits.ConnectionStringTrait?alt=com.azure.core.client.traits.ConnectionStringTrait&text=ConnectionStringTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.azure.core.client.traits.EndpointTrait?alt=com.azure.core.client.traits.EndpointTrait&text=EndpointTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.azure.core.client.traits.HttpTrait?alt=com.azure.core.client.traits.HttpTrait&text=HttpTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.azure.core.client.traits.TokenCredentialTrait?alt=com.azure.core.client.traits.TokenCredentialTrait&text=TokenCredentialTrait\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.BlobServiceClientBuilder?alt=com.azure.storage.blob.BlobServiceClientBuilder&text=BlobServiceClientBuilder\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.storage.blob"
|
|
artifact: com.azure:azure-storage-blob:12.28.1
|