Interface S3Options
-
- All Superinterfaces:
AwsOptions,org.apache.beam.sdk.transforms.display.HasDisplayData,org.apache.beam.sdk.options.PipelineOptions
public interface S3Options extends AwsOptions
Options used to configure Amazon Web Services S3.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classS3Options.S3UploadBufferSizeBytesFactoryProvide the default s3 upload buffer size in bytes: 64MB if more than 512MB in RAM are available and 5MB otherwise.static classS3Options.SSECustomerKeyFactory-
Nested classes/interfaces inherited from interface org.apache.beam.sdk.io.aws2.options.AwsOptions
AwsOptions.AwsRegionFactory, AwsOptions.AwsUserCredentialsFactory
-
Nested classes/interfaces inherited from interface org.apache.beam.sdk.options.PipelineOptions
org.apache.beam.sdk.options.PipelineOptions.AtomicLongFactory, org.apache.beam.sdk.options.PipelineOptions.CheckEnabled, org.apache.beam.sdk.options.PipelineOptions.DirectRunner, org.apache.beam.sdk.options.PipelineOptions.JobNameFactory, org.apache.beam.sdk.options.PipelineOptions.UserAgentFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetBucketKeyEnabled()java.lang.Class<? extends S3ClientBuilderFactory>getS3ClientFactoryClass()java.lang.StringgetS3StorageClass()intgetS3ThreadPoolSize()java.lang.IntegergetS3UploadBufferSizeBytes()@Nullable java.lang.StringgetSSEAlgorithm()SSECustomerKeygetSSECustomerKey()@Nullable java.lang.StringgetSSEKMSKeyId()voidsetBucketKeyEnabled(boolean value)voidsetS3ClientFactoryClass(java.lang.Class<? extends S3ClientBuilderFactory> s3ClientFactoryClass)voidsetS3StorageClass(java.lang.String value)voidsetS3ThreadPoolSize(int value)voidsetS3UploadBufferSizeBytes(java.lang.Integer value)voidsetSSEAlgorithm(java.lang.String value)voidsetSSECustomerKey(SSECustomerKey sseCustomerKey)voidsetSSEKMSKeyId(java.lang.String value)-
Methods inherited from interface org.apache.beam.sdk.io.aws2.options.AwsOptions
getAwsCredentialsProvider, getAwsRegion, getClientBuilderFactory, getEndpoint, getHttpClientConfiguration, getProxyConfiguration, setAwsCredentialsProvider, setAwsRegion, setClientBuilderFactory, setEndpoint, setHttpClientConfiguration, setProxyConfiguration
-
-
-
-
Method Detail
-
getS3StorageClass
@String("STANDARD") java.lang.String getS3StorageClass()
-
setS3StorageClass
void setS3StorageClass(java.lang.String value)
-
getS3UploadBufferSizeBytes
@InstanceFactory(S3UploadBufferSizeBytesFactory.class) java.lang.Integer getS3UploadBufferSizeBytes()
-
setS3UploadBufferSizeBytes
void setS3UploadBufferSizeBytes(java.lang.Integer value)
-
getS3ThreadPoolSize
@Integer(50) int getS3ThreadPoolSize()
-
setS3ThreadPoolSize
void setS3ThreadPoolSize(int value)
-
getSSEAlgorithm
@Nullable java.lang.String getSSEAlgorithm()
-
setSSEAlgorithm
void setSSEAlgorithm(java.lang.String value)
-
getSSECustomerKey
@InstanceFactory(SSECustomerKeyFactory.class) SSECustomerKey getSSECustomerKey()
-
setSSECustomerKey
void setSSECustomerKey(SSECustomerKey sseCustomerKey)
-
getSSEKMSKeyId
@Nullable java.lang.String getSSEKMSKeyId()
-
setSSEKMSKeyId
void setSSEKMSKeyId(java.lang.String value)
-
getBucketKeyEnabled
@Boolean(false) boolean getBucketKeyEnabled()
-
setBucketKeyEnabled
void setBucketKeyEnabled(boolean value)
-
getS3ClientFactoryClass
@Class(DefaultS3ClientBuilderFactory.class) java.lang.Class<? extends S3ClientBuilderFactory> getS3ClientFactoryClass()
-
setS3ClientFactoryClass
void setS3ClientFactoryClass(java.lang.Class<? extends S3ClientBuilderFactory> s3ClientFactoryClass)
-
-