Package org.apache.beam.sdk.io.aws2.s3
Class S3FileSystemConfiguration
java.lang.Object
org.apache.beam.sdk.io.aws2.s3.S3FileSystemConfiguration
Object used to configure
S3FileSystem.- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new uninitializedS3FileSystemConfiguration.Builder.builderFrom(S3Options s3Options) Creates a newS3FileSystemConfiguration.Builderwith values initialized by the properties ofs3Options.static S3FileSystemConfigurationfromS3Options(S3Options s3Options) abstract booleanWhether to use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS) or not.abstract S3ClientBuilderBuilder used to create theS3Client.abstract StringThe AWS S3 storage class used for creating S3 objects.abstract intThread pool size, limiting the max concurrent S3 operations.abstract intSize of S3 upload chnks.abstract StringThe uri scheme used by resources on this filesystem.Algorithm for SSE-S3 encryption, e.g.abstract SSECustomerKeySSE key for SSE-C encryption, e.g.KMS key id for SSE-KMS encyrption, e.g.abstract S3FileSystemConfiguration.BuilderCreates a newS3FileSystemConfiguration.Builderwith values initialized by this instance's properties.
-
Field Details
-
MINIMUM_UPLOAD_BUFFER_SIZE_BYTES
public static final int MINIMUM_UPLOAD_BUFFER_SIZE_BYTES- See Also:
-
-
Constructor Details
-
S3FileSystemConfiguration
public S3FileSystemConfiguration()
-
-
Method Details
-
getScheme
The uri scheme used by resources on this filesystem. -
getS3StorageClass
The AWS S3 storage class used for creating S3 objects. -
getS3UploadBufferSizeBytes
public abstract int getS3UploadBufferSizeBytes()Size of S3 upload chnks. -
getS3ThreadPoolSize
public abstract int getS3ThreadPoolSize()Thread pool size, limiting the max concurrent S3 operations. -
getSSEAlgorithm
Algorithm for SSE-S3 encryption, e.g. AES256. -
getSSECustomerKey
SSE key for SSE-C encryption, e.g. a base64 encoded key and the algorithm. -
getSSEKMSKeyId
KMS key id for SSE-KMS encyrption, e.g. "arn:aws:kms:..." -
getBucketKeyEnabled
public abstract boolean getBucketKeyEnabled()Whether to use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS) or not. -
getS3ClientBuilder
Builder used to create theS3Client. -
builder
Creates a new uninitializedS3FileSystemConfiguration.Builder. -
toBuilder
Creates a newS3FileSystemConfiguration.Builderwith values initialized by this instance's properties. -
builderFrom
Creates a newS3FileSystemConfiguration.Builderwith values initialized by the properties ofs3Options. -
fromS3Options
-