com.amazonaws.services.securitytoken.model
Class GetSessionTokenResult

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

public class GetSessionTokenResult
extends java.lang.Object

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


Constructor Summary
GetSessionTokenResult()
           
 
Method Summary
 Credentials getCredentials()
          The session credentials for API authentication.
 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
equals, getClass, hashCode, 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()


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