@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 |
fromS3Options(S3Options s3Options)
Creates a new
S3FileSystemConfiguration.Builder with values initialized by the properties of s3Options . |
static AmazonS3ClientBuilder |
getBuilder(S3Options s3Options)
Creates a new
AmazonS3ClientBuilder as specified by s3Options . |
abstract AmazonS3ClientBuilder |
getS3ClientBuilder()
Builder used to create the
AmazonS3Client . |
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 chunks.
|
abstract java.lang.String |
getScheme()
The uri scheme used by resources on this filesystem.
|
abstract java.lang.String |
getSSEAlgorithm()
Algorithm for SSE-S3 encryption, e.g.
|
abstract SSEAwsKeyManagementParams |
getSSEAwsKeyManagementParams()
KMS key id for SSE-KMS encryption, e.g.
|
abstract SSECustomerKey |
getSSECustomerKey()
SSE key for SSE-C encryption, 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()
@Nullable public abstract java.lang.String getSSEAlgorithm()
@Nullable public abstract SSECustomerKey getSSECustomerKey()
@Nullable public abstract SSEAwsKeyManagementParams getSSEAwsKeyManagementParams()
public abstract AmazonS3ClientBuilder getS3ClientBuilder()
AmazonS3Client
.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 fromS3Options(S3Options s3Options)
S3FileSystemConfiguration.Builder
with values initialized by the properties of s3Options
.public static AmazonS3ClientBuilder getBuilder(S3Options s3Options)
AmazonS3ClientBuilder
as specified by s3Options
.