public class AzureCliCredentialBuilder extends CredentialBuilderBase<AzureCliCredentialBuilder>
AzureCliCredential.AzureCliCredential| Constructor and Description |
|---|
AzureCliCredentialBuilder() |
| Modifier and Type | Method and Description |
|---|---|
AzureCliCredential |
build()
Creates a new
AzureCliCredential with the current configurations. |
AzureCliCredentialBuilder |
tenantId(String tenantId)
Sets the tenant ID of the application.
|
configuration, httpClient, httpPipeline, maxRetry, proxyOptions, retryTimeoutpublic AzureCliCredentialBuilder tenantId(String tenantId)
tenantId - the tenant ID of the application.public AzureCliCredential build()
AzureCliCredential with the current configurations.AzureCliCredential with the current configurations.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.