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.Builder
with values initialized by the properties ofs3Options
.static S3FileSystemConfiguration
fromS3Options
(S3Options s3Options) abstract boolean
Whether to use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS) or not.abstract S3ClientBuilder
Builder used to create theS3Client
.abstract String
The AWS S3 storage class used for creating S3 objects.abstract int
Thread pool size, limiting the max concurrent S3 operations.abstract int
Size of S3 upload chnks.abstract String
The uri scheme used by resources on this filesystem.Algorithm for SSE-S3 encryption, e.g.abstract SSECustomerKey
SSE key for SSE-C encryption, e.g.KMS key id for SSE-KMS encyrption, e.g.abstract S3FileSystemConfiguration.Builder
Creates a newS3FileSystemConfiguration.Builder
with 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.Builder
with values initialized by this instance's properties. -
builderFrom
Creates a newS3FileSystemConfiguration.Builder
with values initialized by the properties ofs3Options
. -
fromS3Options
-