org.jclouds.aws.domain
Class SessionCredentials

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

public final class SessionCredentials
extends org.jclouds.domain.Credentials

AWS credentials for API authentication.

See Also:

Nested Class Summary
static class SessionCredentials.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.domain.Credentials
credential, identity
 
Method Summary
static SessionCredentials.Builder builder()
           
 boolean equals(Object obj)
           
 String getAccessKeyId()
          AccessKeyId ID that identifies the temporary credentials.
 com.google.common.base.Optional<Date> getExpiration()
          The date on which these credentials expire.
 String getSecretAccessKey()
          The Secret Access Key to sign requests.
 String getSessionToken()
          The security token that users must pass to the service API to use the temporary credentials.
 int hashCode()
           
 SessionCredentials.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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 org.jclouds.domain.Credentials

equals

public boolean equals(Object obj)
Overrides:
equals in class org.jclouds.domain.Credentials

toString

public String toString()
Overrides:
toString in class org.jclouds.domain.Credentials

builder

public static SessionCredentials.Builder builder()

toBuilder

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


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.