public abstract static class ClientConfiguration.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract ClientConfiguration |
build() |
ClientConfiguration.Builder |
credentialsProvider(AwsCredentialsProvider credentialsProvider)
Optional
AwsCredentialsProvider . |
abstract ClientConfiguration.Builder |
endpoint(java.net.URI uri)
Optional service endpoint to use AWS compatible services instead, e.g.
|
ClientConfiguration.Builder |
region(Region region)
Optional
Region . |
ClientConfiguration.Builder |
retry(java.util.function.Consumer<RetryConfiguration.Builder> retry)
Optional
RetryConfiguration for AWS clients. |
abstract ClientConfiguration.Builder |
retry(RetryConfiguration retry)
Optional
RetryConfiguration for AWS clients. |
public ClientConfiguration.Builder credentialsProvider(AwsCredentialsProvider credentialsProvider)
AwsCredentialsProvider
. If set, this overwrites the default in AwsOptions.getAwsCredentialsProvider()
.public ClientConfiguration.Builder region(Region region)
Region
. If set, this overwrites the default in AwsOptions.getAwsRegion()
.public abstract ClientConfiguration.Builder endpoint(java.net.URI uri)
AwsOptions.getEndpoint()
.public abstract ClientConfiguration.Builder retry(RetryConfiguration retry)
RetryConfiguration
for AWS clients. If unset, retry behavior will be
unchanged and use SDK defaults.public ClientConfiguration.Builder retry(java.util.function.Consumer<RetryConfiguration.Builder> retry)
RetryConfiguration
for AWS clients. If unset, retry behavior will be
unchanged and use SDK defaults.public abstract ClientConfiguration build()