com.amazonaws.services.securitytoken.model
Class GetSessionTokenResult

java.lang.Object
  extended by com.amazonaws.services.securitytoken.model.GetSessionTokenResult
All Implemented Interfaces:
java.io.Serializable

public class GetSessionTokenResult
extends java.lang.Object
implements java.io.Serializable

Contains the result of a successful call to the GetSessionToken action, including temporary AWS credentials that can be used to make AWS requests.

See Also:
Serialized Form

Constructor Summary
GetSessionTokenResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Credentials getCredentials()
          The session credentials for API authentication.
 int hashCode()
           
 void setCredentials(Credentials credentials)
          The session credentials for API authentication.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetSessionTokenResult withCredentials(Credentials credentials)
          The session credentials for API authentication.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetSessionTokenResult

public GetSessionTokenResult()
Method Detail

getCredentials

public Credentials getCredentials()
The session credentials for API authentication.

Returns:
The session credentials for API authentication.

setCredentials

public void setCredentials(Credentials credentials)
The session credentials for API authentication.

Parameters:
credentials - The session credentials for API authentication.

withCredentials

public GetSessionTokenResult withCredentials(Credentials credentials)
The session credentials for API authentication.

Returns a reference to this object so that method calls can be chained together.

Parameters:
credentials - The session credentials for API authentication.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.