Class AzureOptions.AzureUserCredentialsFactory
java.lang.Object
org.apache.beam.sdk.io.azure.options.AzureOptions.AzureUserCredentialsFactory
- All Implemented Interfaces:
DefaultValueFactory<com.azure.core.credential.TokenCredential>
- Enclosing interface:
AzureOptions
public static class AzureOptions.AzureUserCredentialsFactory
extends Object
implements DefaultValueFactory<com.azure.core.credential.TokenCredential>
Attempts to load Azure credentials.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.credential.TokenCredentialcreate(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory.
-
Constructor Details
-
AzureUserCredentialsFactory
public AzureUserCredentialsFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactoryCreates a default value for a getter marked withDefault.InstanceFactory.- Specified by:
createin interfaceDefaultValueFactory<com.azure.core.credential.TokenCredential>- Parameters:
options- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-