com.amazonaws.services.securitytoken.model
Class GetSessionTokenResult

java.lang.Object
  extended by com.amazonaws.services.securitytoken.model.GetSessionTokenResult

public class GetSessionTokenResult
extends Object

Contains the result of a successful invocation of the GetSessionToken action.


Constructor Summary
GetSessionTokenResult()
           
 
Method Summary
 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.
 
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 String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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