public final class SessionCredentials extends Credentials
Modifier and Type | Class and Description |
---|---|
static class |
SessionCredentials.Builder |
credential, identity
Modifier and Type | Method and 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() |
public String getAccessKeyId()
public String getSecretAccessKey()
public String getSessionToken()
public com.google.common.base.Optional<Date> getExpiration()
public int hashCode()
hashCode
in class Credentials
public boolean equals(Object obj)
equals
in class Credentials
public String toString()
toString
in class Credentials
public static SessionCredentials.Builder builder()
public SessionCredentials.Builder toBuilder()
toBuilder
in class Credentials
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.