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