Package com.azure.identity
Class AzureCliCredentialBuilder
java.lang.Object
com.azure.identity.CredentialBuilderBase<AzureCliCredentialBuilder>
com.azure.identity.AzureCliCredentialBuilder
Fluent credential builder for instantiating a
AzureCliCredential.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a newAzureCliCredentialwith the current configurations.Sets the tenant ID of the application.Methods inherited from class com.azure.identity.CredentialBuilderBase
configuration, enableAccountIdentifierLogging, httpClient, httpPipeline, maxRetry, proxyOptions, retryTimeout
-
Constructor Details
-
AzureCliCredentialBuilder
public AzureCliCredentialBuilder()
-
-
Method Details
-
tenantId
Sets the tenant ID of the application.- Parameters:
tenantId- the tenant ID of the application.- Returns:
- An updated instance of this builder with the tenant id set as specified.
-
build
Creates a newAzureCliCredentialwith the current configurations.- Returns:
- a
AzureCliCredentialwith the current configurations.
-