Package com.azure.identity
Class AzurePowerShellCredentialBuilder
- java.lang.Object
-
- com.azure.identity.CredentialBuilderBase<AzurePowerShellCredentialBuilder>
-
- com.azure.identity.AzurePowerShellCredentialBuilder
-
public class AzurePowerShellCredentialBuilder extends CredentialBuilderBase<AzurePowerShellCredentialBuilder>
Fluent credential builder for instantiating aAzurePowerShellCredential.- See Also:
AzurePowerShellCredential
-
-
Constructor Summary
Constructors Constructor Description AzurePowerShellCredentialBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzurePowerShellCredentialbuild()Creates a newAzurePowerShellCredentialwith the current configurations.AzurePowerShellCredentialBuildertenantId(String tenantId)Sets the tenant ID of the application.-
Methods inherited from class com.azure.identity.CredentialBuilderBase
configuration, enableAccountIdentifierLogging, httpClient, httpPipeline, maxRetry, proxyOptions, retryTimeout
-
-
-
-
Method Detail
-
tenantId
public AzurePowerShellCredentialBuilder tenantId(String 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
public AzurePowerShellCredential build()
Creates a newAzurePowerShellCredentialwith the current configurations.- Returns:
- a
AzurePowerShellCredentialwith the current configurations.
-
-