Class SessionCredentials

java.lang.Object
org.jclouds.domain.Credentials
org.jclouds.aws.domain.SessionCredentials

public final class SessionCredentials extends Credentials
AWS credentials for API authentication.
See Also:
  • Method Details

    • getAccessKeyId

      public String getAccessKeyId()
      AccessKeyId ID that identifies the temporary credentials.
    • getSecretAccessKey

      public String getSecretAccessKey()
      The Secret Access Key to sign requests.
    • getSessionToken

      public String getSessionToken()
      The security token that users must pass to the service API to use the temporary credentials.
    • getExpiration

      public com.google.common.base.Optional<Date> getExpiration()
      The date on which these credentials expire.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Credentials
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Credentials
    • toString

      public String toString()
      Overrides:
      toString in class Credentials
    • builder

      public static SessionCredentials.Builder builder()
    • toBuilder

      public SessionCredentials.Builder toBuilder()
      Overrides:
      toBuilder in class Credentials