Package com.adaptris.aws2
Class StaticCredentialsBuilder
java.lang.Object
com.adaptris.aws2.StaticCredentialsBuilder
- All Implemented Interfaces:
AWSCredentialsProviderBuilder
@ComponentProfile(summary="Create a static set of credentials",
since="4.3.0")
public class StaticCredentialsBuilder
extends Object
implements AWSCredentialsProviderBuilder
A static set of credentials for AWS.
- Since:
- 4.3.0
In the adapter configuration file this class is aliased as aws2-static-credentials-builder which is the preferred alternative to the fully qualified classname when building your configuration.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.adaptris.aws2.AWSCredentialsProviderBuilder
AWSCredentialsProviderBuilder.BuilderConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.auth.credentials.AwsCredentialsProviderbuild()@NonNull AWSAuthenticationvoidsetAuthentication(@NonNull AWSAuthentication authentication) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.adaptris.aws2.AWSCredentialsProviderBuilder
build
-
Constructor Details
-
StaticCredentialsBuilder
public StaticCredentialsBuilder()
-
-
Method Details
-
build
- Specified by:
buildin interfaceAWSCredentialsProviderBuilder- Throws:
Exception
-
withAuthentication
-
getAuthentication
-
setAuthentication
-