ManagedIdentityCredentialBuilder Class

Definition

Fluent credential builder for instantiating a ManagedIdentityCredential.

public class ManagedIdentityCredentialBuilder extends CredentialBuilderBase<ManagedIdentityCredentialBuilder>

Constructors

ManagedIdentityCredentialBuilder()

Methods

build()

Creates a new ManagedIdentityCredential with the current configurations.

clientId(String clientId)

Specifies the client ID of user assigned or system assigned identity. Only one of clientId and resourceId can be specified.

resourceId(String resourceId)

Specifies the resource ID of a user assigned or system assigned identity. Only one of clientId and resourceId can be specified.

Inherited Members

CredentialBuilderBase<T>.configuration(Configuration configuration) CredentialBuilderBase<T>.enableAccountIdentifierLogging() CredentialBuilderBase<T>.httpClient(HttpClient client) CredentialBuilderBase<T>.httpPipeline(HttpPipeline httpPipeline) CredentialBuilderBase<T>.maxRetry(int maxRetry) CredentialBuilderBase<T>.proxyOptions(ProxyOptions proxyOptions) CredentialBuilderBase<T>.retryTimeout(Function<Duration,Duration> retryTimeout) java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Applies to