@NotThreadSafe public static interface S3Configuration.Builder extends CopyableBuilder<S3Configuration.Builder,S3Configuration>
Modifier and Type | Method and Description |
---|---|
Boolean |
accelerateModeEnabled() |
S3Configuration.Builder |
accelerateModeEnabled(Boolean accelerateModeEnabled)
Option to enable using the accelerate enedpoint when accessing S3.
|
Boolean |
checksumValidationEnabled() |
S3Configuration.Builder |
checksumValidationEnabled(Boolean checksumValidationEnabled)
Option to disable doing a validation of the checksum of an object stored in S3.
|
Boolean |
chunkedEncodingEnabled() |
S3Configuration.Builder |
chunkedEncodingEnabled(Boolean chunkedEncodingEnabled)
Option to enable using chunked encoding when signing the request
payload for
PutObjectRequest and UploadPartRequest . |
Boolean |
dualstackEnabled() |
S3Configuration.Builder |
dualstackEnabled(Boolean dualstackEnabled)
Option to enable using the dualstack endpoints when accessing S3.
|
Boolean |
pathStyleAccessEnabled() |
S3Configuration.Builder |
pathStyleAccessEnabled(Boolean pathStyleAccessEnabled)
Option to enable using path style access for accessing S3 objects
instead of DNS style access.
|
ProfileFile |
profileFile() |
S3Configuration.Builder |
profileFile(ProfileFile profileFile)
The profile file that should be consulted to determine the default value of
useArnRegionEnabled(Boolean) . |
String |
profileName() |
S3Configuration.Builder |
profileName(String profileName)
The profile name that should be consulted to determine the default value of
useArnRegionEnabled(Boolean) . |
Boolean |
useArnRegionEnabled() |
S3Configuration.Builder |
useArnRegionEnabled(Boolean useArnRegionEnabled)
If an S3 resource ARN is passed in as the target of an S3 operation that has a different region to the one
the client was configured with, this flag must be set to 'true' to permit the client to make a
cross-region call to the region specified in the ARN otherwise an exception will be thrown.
|
copy
applyMutation, build
Boolean dualstackEnabled()
S3Configuration.Builder dualstackEnabled(Boolean dualstackEnabled)
Dualstack endpoints are disabled by default.
S3Configuration.dualstackEnabled().
Boolean accelerateModeEnabled()
S3Configuration.Builder accelerateModeEnabled(Boolean accelerateModeEnabled)
Accelerate mode is disabled by default.
S3Configuration.accelerateModeEnabled().
Boolean pathStyleAccessEnabled()
S3Configuration.Builder pathStyleAccessEnabled(Boolean pathStyleAccessEnabled)
Path style access is disabled by default. Path style may still be used for legacy buckets that are not DNS compatible.
Boolean checksumValidationEnabled()
S3Configuration.Builder checksumValidationEnabled(Boolean checksumValidationEnabled)
Checksum validation is enabled by default.
Boolean chunkedEncodingEnabled()
S3Configuration.Builder chunkedEncodingEnabled(Boolean chunkedEncodingEnabled)
PutObjectRequest
and UploadPartRequest
.S3Configuration.chunkedEncodingEnabled()
Boolean useArnRegionEnabled()
S3Configuration.Builder useArnRegionEnabled(Boolean useArnRegionEnabled)
S3Configuration.useArnRegionEnabled()
ProfileFile profileFile()
S3Configuration.Builder profileFile(ProfileFile profileFile)
useArnRegionEnabled(Boolean)
.
This is not used, if the useArnRegionEnabled(Boolean)
is configured.
By default, the ProfileFile.defaultProfileFile()
is used.
String profileName()
S3Configuration.Builder profileName(String profileName)
useArnRegionEnabled(Boolean)
.
This is not used, if the useArnRegionEnabled(Boolean)
is configured.
By default, the ProfileFileSystemSetting.AWS_PROFILE
is used.
Copyright © 2021. All rights reserved.