public class GetSessionTokenResult extends Object implements Serializable
Contains the result of a successful call to the GetSessionToken action, including temporary AWS credentials that can be used to make AWS requests.
Constructor and Description |
---|
GetSessionTokenResult() |
Modifier and Type | Method and Description |
---|---|
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 Object
Object.toString()
Copyright © 2014. All rights reserved.