public interface AwsOptions extends PipelineOptions
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
AwsOptions.AwsRegionFactory
Attempt to load default region. 
 | 
static class  | 
AwsOptions.AwsUserCredentialsFactory
Attempts to load AWS credentials. 
 | 
static class  | 
AwsOptions.ClientConfigurationFactory
Default AWS client configuration. 
 | 
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.UserAgentFactory| Modifier and Type | Method and Description | 
|---|---|
AWSCredentialsProvider | 
getAwsCredentialsProvider()
The credential instance that should be used to authenticate against AWS services. 
 | 
java.lang.String | 
getAwsRegion()
AWS region used by the AWS client. 
 | 
java.lang.String | 
getAwsServiceEndpoint()
The AWS service endpoint used by the AWS client. 
 | 
ClientConfiguration | 
getClientConfiguration()
The client configuration instance that should be used to configure AWS service clients. 
 | 
void | 
setAwsCredentialsProvider(AWSCredentialsProvider value)  | 
void | 
setAwsRegion(java.lang.String value)  | 
void | 
setAwsServiceEndpoint(java.lang.String value)  | 
void | 
setClientConfiguration(ClientConfiguration clientConfiguration)  | 
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgentpopulateDisplayData@Default.InstanceFactory(value=AwsOptions.AwsRegionFactory.class) java.lang.String getAwsRegion()
void setAwsRegion(java.lang.String value)
java.lang.String getAwsServiceEndpoint()
void setAwsServiceEndpoint(java.lang.String value)
@Default.InstanceFactory(value=AwsOptions.AwsUserCredentialsFactory.class) AWSCredentialsProvider getAwsCredentialsProvider()
DefaultAWSCredentialsProviderChain Javadoc for usage help.
 For example, to specify the AWS key ID and secret, specify the following: 
 {"@type" : "AWSStaticCredentialsProvider", "awsAccessKeyId" : "key_id_value",
 "awsSecretKey" : "secret_value"}
 
void setAwsCredentialsProvider(AWSCredentialsProvider value)
@Default.InstanceFactory(value=AwsOptions.ClientConfigurationFactory.class) ClientConfiguration getClientConfiguration()
For example, to specify the proxy host, port, username and password, specify the following:
 
 --clientConfiguration={
   "proxyHost":"hostname",
   "proxyPort":1234,
   "proxyUsername":"username",
   "proxyPassword":"password"
 }
 
void setClientConfiguration(ClientConfiguration clientConfiguration)