Package org.jclouds.aws.domain
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SessionCredentials.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.domain.Credentials
credential, identity
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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 classCredentials
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classCredentials
-
toString
public String toString()
- Overrides:
toString
in classCredentials
-
builder
public static SessionCredentials.Builder builder()
-
toBuilder
public SessionCredentials.Builder toBuilder()
- Overrides:
toBuilder
in classCredentials
-
-