public class GetSessionTokenResult extends Object implements Serializable, Cloneable
Contains the response to a successful GetSessionToken request, including temporary AWS credentials that can be used to make AWS requests.
| Constructor and Description |
|---|
GetSessionTokenResult() |
| Modifier and Type | Method and Description |
|---|---|
GetSessionTokenResult |
clone() |
boolean |
equals(Object obj) |
Credentials |
getCredentials()
The session credentials for API authentication.
|
int |
hashCode() |
void |
setCredentials(Credentials credentials)
The session credentials for API authentication.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetSessionTokenResult |
withCredentials(Credentials credentials)
The session credentials for API authentication.
|
public void setCredentials(Credentials credentials)
The session credentials for API authentication.
credentials - The session credentials for API authentication.public Credentials getCredentials()
The session credentials for API authentication.
public GetSessionTokenResult withCredentials(Credentials credentials)
The session credentials for API authentication.
credentials - The session credentials for API authentication.public String toString()
toString in class ObjectObject.toString()public GetSessionTokenResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.