public class DefaultGcpRegionFactory extends java.lang.Object implements DefaultValueFactory<java.lang.String>
Constructor and Description |
---|
DefaultGcpRegionFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create(PipelineOptions options)
Creates a default value for a getter marked with
Default.InstanceFactory . |
static java.lang.String |
getRegionFromEnvironment() |
public java.lang.String create(PipelineOptions options)
DefaultValueFactory
Default.InstanceFactory
.create
in interface DefaultValueFactory<java.lang.String>
options
- The current pipeline options.public static java.lang.String getRegionFromEnvironment()