BuilderT - The type of builder that should be returned by the fluent builder methods in this interface.ClientT - The type of client generated by this builder.public interface AwsClientBuilder<BuilderT extends AwsClientBuilder<BuilderT,ClientT>,ClientT> extends SdkClientBuilder<BuilderT,ClientT>
Implementations of this interface are mutable and not thread-safe.
| Modifier and Type | Method and Description |
|---|---|
BuilderT |
credentialsProvider(AwsCredentialsProvider credentialsProvider)
Configure the credentials that should be used to authenticate with AWS.
|
BuilderT |
region(Region region)
Configure the region with which the SDK should communicate.
|
endpointOverride, overrideConfiguration, overrideConfigurationapplyMutation, buildBuilderT credentialsProvider(AwsCredentialsProvider credentialsProvider)
The default provider will attempt to identify the credentials automatically using the following checks:
aws.accessKeyId and aws.secretKeyAWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEYIf the credentials are not found in any of the locations above, an exception will be thrown at SdkBuilder.build() time.
BuilderT region(Region region)
If this is not specified, the SDK will attempt to identify the endpoint automatically using the following logic:
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.