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 Credentials getCredentials()
public void setCredentials(Credentials credentials)
credentials - The session credentials for API authentication.public GetSessionTokenResult withCredentials(Credentials credentials)
Returns a reference to this object so that method calls can be chained together.
credentials - The session credentials for API authentication.public String toString()
toString in class ObjectObject.toString()public GetSessionTokenResult clone()
Copyright © 2015. All rights reserved.