@Experimental(value=FILESYSTEM) public abstract class S3FileSystemConfiguration extends java.lang.Object
S3FileSystem
.S3Options
,
S3FileSystemSchemeRegistrar
Modifier and Type | Class and Description |
---|---|
static class |
S3FileSystemConfiguration.Builder |
Modifier and Type | Field and Description |
---|---|
static int |
MINIMUM_UPLOAD_BUFFER_SIZE_BYTES |
Constructor and Description |
---|
S3FileSystemConfiguration() |
Modifier and Type | Method and Description |
---|---|
static S3FileSystemConfiguration.Builder |
builder()
Creates a new uninitialized
S3FileSystemConfiguration.Builder . |
static S3FileSystemConfiguration.Builder |
builderFrom(S3Options s3Options)
Creates a new
S3FileSystemConfiguration.Builder with values initialized by the properties of s3Options . |
static S3FileSystemConfiguration |
fromS3Options(S3Options s3Options) |
abstract boolean |
getBucketKeyEnabled()
Whether to use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS
(SSE-KMS) or not.
|
abstract S3ClientBuilder |
getS3ClientBuilder()
Builder used to create the
S3Client . |
abstract java.lang.String |
getS3StorageClass()
The AWS S3 storage class used for creating S3 objects.
|
abstract int |
getS3ThreadPoolSize()
Thread pool size, limiting the max concurrent S3 operations.
|
abstract int |
getS3UploadBufferSizeBytes()
Size of S3 upload chnks.
|
abstract java.lang.String |
getScheme()
The uri scheme used by resources on this filesystem.
|
abstract @Nullable java.lang.String |
getSSEAlgorithm()
Algorithm for SSE-S3 encryption, e.g.
|
abstract SSECustomerKey |
getSSECustomerKey()
SSE key for SSE-C encryption, e.g.
|
abstract @Nullable java.lang.String |
getSSEKMSKeyId()
KMS key id for SSE-KMS encyrption, e.g.
|
abstract S3FileSystemConfiguration.Builder |
toBuilder()
Creates a new
S3FileSystemConfiguration.Builder with values initialized by this instance's properties. |
public static final int MINIMUM_UPLOAD_BUFFER_SIZE_BYTES
public abstract java.lang.String getScheme()
public abstract java.lang.String getS3StorageClass()
public abstract int getS3UploadBufferSizeBytes()
public abstract int getS3ThreadPoolSize()
public abstract @Nullable java.lang.String getSSEAlgorithm()
public abstract SSECustomerKey getSSECustomerKey()
public abstract @Nullable java.lang.String getSSEKMSKeyId()
public abstract boolean getBucketKeyEnabled()
public abstract S3ClientBuilder getS3ClientBuilder()
S3Client
.public static S3FileSystemConfiguration.Builder builder()
S3FileSystemConfiguration.Builder
.public abstract S3FileSystemConfiguration.Builder toBuilder()
S3FileSystemConfiguration.Builder
with values initialized by this instance's properties.public static S3FileSystemConfiguration.Builder builderFrom(S3Options s3Options)
S3FileSystemConfiguration.Builder
with values initialized by the properties of s3Options
.public static S3FileSystemConfiguration fromS3Options(S3Options s3Options)