Class SessionTokenCredentialsBuilder

  • All Implemented Interfaces:
    com.adaptris.jclouds.common.CredentialsBuilder

    @ComponentProfile(summary="Provide credentials via Amazon STS")
    public class SessionTokenCredentialsBuilder
    extends com.adaptris.jclouds.common.DefaultCredentialsBuilder
    AWS STS Credentials Provider

    In the adapter configuration file this class is aliased as jclouds-sts-credentials-builder which is the preferred alternative to the fully qualified classname when building your configuration.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.base.Supplier<org.jclouds.domain.Credentials> build()  
      java.lang.String getSessionToken()
      Set the session token required.
      void setSessionToken​(java.lang.String sessionToken)
      Set the session token required.
      <T extends SessionTokenCredentialsBuilder>
      T
      withSessionToken​(java.lang.String token)  
      • Methods inherited from class com.adaptris.jclouds.common.DefaultCredentialsBuilder

        getCredentials, getIdentity, setCredentials, setIdentity, withCredentials, withIdentity
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SessionTokenCredentialsBuilder

        public SessionTokenCredentialsBuilder()
    • Method Detail

      • build

        public com.google.common.base.Supplier<org.jclouds.domain.Credentials> build()
        Specified by:
        build in interface com.adaptris.jclouds.common.CredentialsBuilder
        Overrides:
        build in class com.adaptris.jclouds.common.DefaultCredentialsBuilder
      • getSessionToken

        public java.lang.String getSessionToken()
        Set the session token required.
      • setSessionToken

        public void setSessionToken​(java.lang.String sessionToken)
        Set the session token required.