com.amazonaws.services.securitytoken.model
Class GetFederationTokenResult

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

public class GetFederationTokenResult
extends Object

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


Constructor Summary
GetFederationTokenResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 Credentials getCredentials()
          Credentials for the service API authentication.
 FederatedUser getFederatedUser()
          Identifiers for the federated user associated with the credentials.
 Integer getPackedPolicySize()
          A percentage value indicating the size of the policy in packed form.
 int hashCode()
           
 void setCredentials(Credentials credentials)
          Credentials for the service API authentication.
 void setFederatedUser(FederatedUser federatedUser)
          Identifiers for the federated user associated with the credentials.
 void setPackedPolicySize(Integer packedPolicySize)
          A percentage value indicating the size of the policy in packed form.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetFederationTokenResult withCredentials(Credentials credentials)
          Credentials for the service API authentication.
 GetFederationTokenResult withFederatedUser(FederatedUser federatedUser)
          Identifiers for the federated user associated with the credentials.
 GetFederationTokenResult withPackedPolicySize(Integer packedPolicySize)
          A percentage value indicating the size of the policy in packed form.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetFederationTokenResult

public GetFederationTokenResult()
Method Detail

getCredentials

public Credentials getCredentials()
Credentials for the service API authentication.

Returns:
Credentials for the service API authentication.

setCredentials

public void setCredentials(Credentials credentials)
Credentials for the service API authentication.

Parameters:
credentials - Credentials for the service API authentication.

withCredentials

public GetFederationTokenResult withCredentials(Credentials credentials)
Credentials for the service API authentication.

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

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

getFederatedUser

public FederatedUser getFederatedUser()
Identifiers for the federated user associated with the credentials. You can use the federated user's ARN in your resource policies.

Returns:
Identifiers for the federated user associated with the credentials. You can use the federated user's ARN in your resource policies.

setFederatedUser

public void setFederatedUser(FederatedUser federatedUser)
Identifiers for the federated user associated with the credentials. You can use the federated user's ARN in your resource policies.

Parameters:
federatedUser - Identifiers for the federated user associated with the credentials. You can use the federated user's ARN in your resource policies.

withFederatedUser

public GetFederationTokenResult withFederatedUser(FederatedUser federatedUser)
Identifiers for the federated user associated with the credentials. You can use the federated user's ARN in your resource policies.

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

Parameters:
federatedUser - Identifiers for the federated user associated with the credentials. You can use the federated user's ARN in your resource policies.
Returns:
A reference to this updated object so that method calls can be chained together.

getPackedPolicySize

public Integer getPackedPolicySize()
A percentage value indicating the size of the policy in packed form. Policies for which the packed size is greater than 100% of the allowed value are rejected by the service.

Constraints:
Range: 0 -

Returns:
A percentage value indicating the size of the policy in packed form. Policies for which the packed size is greater than 100% of the allowed value are rejected by the service.

setPackedPolicySize

public void setPackedPolicySize(Integer packedPolicySize)
A percentage value indicating the size of the policy in packed form. Policies for which the packed size is greater than 100% of the allowed value are rejected by the service.

Constraints:
Range: 0 -

Parameters:
packedPolicySize - A percentage value indicating the size of the policy in packed form. Policies for which the packed size is greater than 100% of the allowed value are rejected by the service.

withPackedPolicySize

public GetFederationTokenResult withPackedPolicySize(Integer packedPolicySize)
A percentage value indicating the size of the policy in packed form. Policies for which the packed size is greater than 100% of the allowed value are rejected by the service.

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

Constraints:
Range: 0 -

Parameters:
packedPolicySize - A percentage value indicating the size of the policy in packed form. Policies for which the packed size is greater than 100% of the allowed value are rejected by the service.
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.