public interface S3Options extends AwsOptions
Modifier and Type | Interface and Description |
---|---|
static class |
S3Options.S3UploadBufferSizeBytesFactory
Provide the default s3 upload buffer size in bytes: 64MB if more than 512MB in RAM are
available and 5MB otherwise.
|
static class |
S3Options.SSECustomerKeyFactory |
AwsOptions.AwsRegionFactory, AwsOptions.AwsUserCredentialsFactory
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.UserAgentFactory
Modifier and Type | Method and Description |
---|---|
boolean |
getBucketKeyEnabled() |
java.lang.Class<? extends S3ClientBuilderFactory> |
getS3ClientFactoryClass() |
java.lang.String |
getS3StorageClass() |
int |
getS3ThreadPoolSize() |
java.lang.Integer |
getS3UploadBufferSizeBytes() |
@Nullable java.lang.String |
getSSEAlgorithm() |
SSECustomerKey |
getSSECustomerKey() |
@Nullable java.lang.String |
getSSEKMSKeyId() |
void |
setBucketKeyEnabled(boolean value) |
void |
setS3ClientFactoryClass(java.lang.Class<? extends S3ClientBuilderFactory> s3ClientFactoryClass) |
void |
setS3StorageClass(java.lang.String value) |
void |
setS3ThreadPoolSize(int value) |
void |
setS3UploadBufferSizeBytes(java.lang.Integer value) |
void |
setSSEAlgorithm(java.lang.String value) |
void |
setSSECustomerKey(SSECustomerKey sseCustomerKey) |
void |
setSSEKMSKeyId(java.lang.String value) |
getAwsCredentialsProvider, getAwsRegion, getClientBuilderFactory, getEndpoint, getHttpClientConfiguration, getProxyConfiguration, setAwsCredentialsProvider, setAwsRegion, setClientBuilderFactory, setEndpoint, setHttpClientConfiguration, setProxyConfiguration
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
populateDisplayData
@Default.String(value="STANDARD") java.lang.String getS3StorageClass()
void setS3StorageClass(java.lang.String value)
@Default.InstanceFactory(value=S3Options.S3UploadBufferSizeBytesFactory.class) java.lang.Integer getS3UploadBufferSizeBytes()
void setS3UploadBufferSizeBytes(java.lang.Integer value)
@Default.Integer(value=50) int getS3ThreadPoolSize()
void setS3ThreadPoolSize(int value)
@Nullable java.lang.String getSSEAlgorithm()
void setSSEAlgorithm(java.lang.String value)
@Default.InstanceFactory(value=S3Options.SSECustomerKeyFactory.class) SSECustomerKey getSSECustomerKey()
void setSSECustomerKey(SSECustomerKey sseCustomerKey)
@Nullable java.lang.String getSSEKMSKeyId()
void setSSEKMSKeyId(java.lang.String value)
@Default.Boolean(value=false) boolean getBucketKeyEnabled()
void setBucketKeyEnabled(boolean value)
@Default.Class(value=DefaultS3ClientBuilderFactory.class) java.lang.Class<? extends S3ClientBuilderFactory> getS3ClientFactoryClass()
void setS3ClientFactoryClass(java.lang.Class<? extends S3ClientBuilderFactory> s3ClientFactoryClass)