Class AwsOptions.AwsUserCredentialsFactory
java.lang.Object
org.apache.beam.sdk.io.aws2.options.AwsOptions.AwsUserCredentialsFactory
- All Implemented Interfaces:
DefaultValueFactory<AwsCredentialsProvider>
- Enclosing interface:
AwsOptions
public static class AwsOptions.AwsUserCredentialsFactory
extends Object
implements DefaultValueFactory<AwsCredentialsProvider>
Return
DefaultCredentialsProvider
as default provider.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory
.
-
Constructor Details
-
AwsUserCredentialsFactory
public AwsUserCredentialsFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactory
Creates a default value for a getter marked withDefault.InstanceFactory
.- Specified by:
create
in interfaceDefaultValueFactory<AwsCredentialsProvider>
- Parameters:
options
- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-