public static final class S3ClientFactory.S3ClientCreationParameters extends Object
Constructor and Description |
---|
S3ClientCreationParameters() |
Modifier and Type | Method and Description |
---|---|
software.amazon.awssdk.auth.credentials.AwsCredentialsProvider |
getCredentialSet() |
String |
getEndpoint() |
List<software.amazon.awssdk.core.interceptor.ExecutionInterceptor> |
getExecutionInterceptors()
List of execution interceptors to include in the chain
of interceptors in the SDK.
|
Map<String,String> |
getHeaders()
Get the map of headers.
|
StatisticsFromAwsSdk |
getMetrics() |
long |
getMinimumPartSize()
Get the minimum part size for transfer parts.
|
long |
getMultiPartThreshold()
Get the threshold for multipart operations.
|
URI |
getPathUri()
Get the full s3 path.
|
String |
getRegion()
Get the region.
|
Executor |
getTransferManagerExecutor()
Get the executor that the transfer manager will use to execute background tasks.
|
String |
getUserAgentSuffix() |
boolean |
isChecksumValidationEnabled() |
boolean |
isExpressCreateSession()
Should s3express createSession be called?
|
boolean |
isFipsEnabled()
Get the FIPS flag.
|
boolean |
isMultipartCopy()
Get the multipart flag.
|
boolean |
isPathStyleAccess() |
boolean |
isRequesterPays() |
String |
toString() |
S3ClientFactory.S3ClientCreationParameters |
withChecksumValidationEnabled(boolean value)
Set builder value.
|
S3ClientFactory.S3ClientCreationParameters |
withCredentialSet(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider value)
Set credentials.
|
S3ClientFactory.S3ClientCreationParameters |
withEndpoint(String value)
Set endpoint.
|
S3ClientFactory.S3ClientCreationParameters |
withExecutionInterceptors(List<software.amazon.awssdk.core.interceptor.ExecutionInterceptor> interceptors)
List of execution interceptors.
|
S3ClientFactory.S3ClientCreationParameters |
withExpressCreateSession(boolean value)
Set builder value.
|
S3ClientFactory.S3ClientCreationParameters |
withFipsEnabled(boolean value)
Set builder value.
|
S3ClientFactory.S3ClientCreationParameters |
withHeader(String header,
String value)
Add a custom header.
|
S3ClientFactory.S3ClientCreationParameters |
withMetrics(StatisticsFromAwsSdk statistics)
Metrics binding.
|
S3ClientFactory.S3ClientCreationParameters |
withMinimumPartSize(long value)
Set the minimum part size for transfer parts.
|
S3ClientFactory.S3ClientCreationParameters |
withMultipartCopyEnabled(boolean value)
Set the multipart flag..
|
S3ClientFactory.S3ClientCreationParameters |
withMultipartThreshold(long value)
Set the threshold for multipart operations.
|
S3ClientFactory.S3ClientCreationParameters |
withPathStyleAccess(boolean value)
Set path access option.
|
S3ClientFactory.S3ClientCreationParameters |
withPathUri(URI value)
Set full s3a path.
|
S3ClientFactory.S3ClientCreationParameters |
withRegion(String value)
Set region.
|
S3ClientFactory.S3ClientCreationParameters |
withRequesterPays(boolean value)
Set requester pays option.
|
S3ClientFactory.S3ClientCreationParameters |
withTransferManagerExecutor(Executor value)
Set the executor that the transfer manager will use to execute background tasks.
|
S3ClientFactory.S3ClientCreationParameters |
withUserAgentSuffix(String value)
Set UA suffix.
|
public List<software.amazon.awssdk.core.interceptor.ExecutionInterceptor> getExecutionInterceptors()
public S3ClientFactory.S3ClientCreationParameters withExecutionInterceptors(@Nullable List<software.amazon.awssdk.core.interceptor.ExecutionInterceptor> interceptors)
interceptors
- interceptors list.public StatisticsFromAwsSdk getMetrics()
public S3ClientFactory.S3ClientCreationParameters withMetrics(@Nullable StatisticsFromAwsSdk statistics)
statistics
- statistics implementationpublic S3ClientFactory.S3ClientCreationParameters withRequesterPays(boolean value)
value
- new valuepublic boolean isRequesterPays()
public software.amazon.awssdk.auth.credentials.AwsCredentialsProvider getCredentialSet()
public S3ClientFactory.S3ClientCreationParameters withCredentialSet(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider value)
value
- new valuepublic String getUserAgentSuffix()
public S3ClientFactory.S3ClientCreationParameters withUserAgentSuffix(String value)
value
- new valuepublic String getEndpoint()
public S3ClientFactory.S3ClientCreationParameters withEndpoint(String value)
value
- new valuepublic boolean isPathStyleAccess()
public S3ClientFactory.S3ClientCreationParameters withPathStyleAccess(boolean value)
value
- new valuepublic S3ClientFactory.S3ClientCreationParameters withHeader(String header, String value)
header
- header namevalue
- new valuepublic Map<String,String> getHeaders()
public URI getPathUri()
public S3ClientFactory.S3ClientCreationParameters withPathUri(URI value)
value
- new valuepublic long getMinimumPartSize()
public S3ClientFactory.S3ClientCreationParameters withMinimumPartSize(long value)
value
- new valuepublic long getMultiPartThreshold()
public S3ClientFactory.S3ClientCreationParameters withMultipartThreshold(long value)
value
- new valuepublic Executor getTransferManagerExecutor()
public S3ClientFactory.S3ClientCreationParameters withTransferManagerExecutor(Executor value)
value
- new valuepublic S3ClientFactory.S3ClientCreationParameters withMultipartCopyEnabled(boolean value)
value
- new valuepublic boolean isMultipartCopy()
public S3ClientFactory.S3ClientCreationParameters withRegion(String value)
value
- new valuepublic String getRegion()
public boolean isExpressCreateSession()
public S3ClientFactory.S3ClientCreationParameters withExpressCreateSession(boolean value)
value
- new valuepublic S3ClientFactory.S3ClientCreationParameters withChecksumValidationEnabled(boolean value)
value
- new valuepublic boolean isChecksumValidationEnabled()
public boolean isFipsEnabled()
public S3ClientFactory.S3ClientCreationParameters withFipsEnabled(boolean value)
value
- new valueCopyright © 2008–2024 Apache Software Foundation. All rights reserved.