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 classSessionCredentials.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.Builderbuilder()booleanequals(Object obj)StringgetAccessKeyId()AccessKeyId ID that identifies the temporary credentials.com.google.common.base.Optional<Date>getExpiration()The date on which these credentials expire.StringgetSecretAccessKey()The Secret Access Key to sign requests.StringgetSessionToken()The security token that users must pass to the service API to use the temporary credentials.inthashCode()SessionCredentials.BuildertoBuilder()StringtoString()
-
-
-
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:
hashCodein classCredentials
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classCredentials
-
toString
public String toString()
- Overrides:
toStringin classCredentials
-
builder
public static SessionCredentials.Builder builder()
-
toBuilder
public SessionCredentials.Builder toBuilder()
- Overrides:
toBuilderin classCredentials
-
-