Package com.adaptris.aws
Class StaticCredentialsBuilder
- java.lang.Object
-
- com.adaptris.aws.StaticCredentialsBuilder
-
- All Implemented Interfaces:
AWSCredentialsProviderBuilder
@ComponentProfile(summary="Create a static set of credentials", since="3.9.1") public class StaticCredentialsBuilder extends java.lang.Object implements AWSCredentialsProviderBuilderA static set of credentials for AWS.In the adapter configuration file this class is aliased as aws-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.aws.AWSCredentialsProviderBuilder
AWSCredentialsProviderBuilder.BuilderConfig
-
-
Constructor Summary
Constructors Constructor Description StaticCredentialsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.amazonaws.auth.AWSCredentialsProviderbuild()@NonNull AWSAuthenticationgetAuthentication()voidsetAuthentication(@NonNull AWSAuthentication authentication)StaticCredentialsBuilderwithAuthentication(AWSAuthentication a)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adaptris.aws.AWSCredentialsProviderBuilder
build
-
-
-
-
Method Detail
-
build
public com.amazonaws.auth.AWSCredentialsProvider build() throws java.lang.Exception- Specified by:
buildin interfaceAWSCredentialsProviderBuilder- Throws:
java.lang.Exception
-
withAuthentication
public StaticCredentialsBuilder withAuthentication(AWSAuthentication a)
-
getAuthentication
@NonNull public @NonNull AWSAuthentication getAuthentication()
-
setAuthentication
public void setAuthentication(@NonNull @NonNull AWSAuthentication authentication)
-
-