com.amazonaws.services.securitytoken.model
Class AssumeRoleWithSAMLResult

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

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

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

See Also:
Serialized Form

Constructor Summary
AssumeRoleWithSAMLResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 AssumedRoleUser getAssumedRoleUser()
          The identifiers for the temporary security credentials that the operation returns.
 java.lang.String getAudience()
          Returns the value of the Audience property for this object.
 Credentials getCredentials()
          AWS credentials for API authentication.
 java.lang.String getIssuer()
          Returns the value of the Issuer property for this object.
 java.lang.String getNameQualifier()
          Returns the value of the NameQualifier property for this object.
 java.lang.Integer getPackedPolicySize()
          A percentage value that indicates the size of the policy in packed form.
 java.lang.String getSubject()
          Returns the value of the Subject property for this object.
 java.lang.String getSubjectType()
          Returns the value of the SubjectType property for this object.
 int hashCode()
           
 void setAssumedRoleUser(AssumedRoleUser assumedRoleUser)
          The identifiers for the temporary security credentials that the operation returns.
 void setAudience(java.lang.String audience)
          Sets the value of the Audience property for this object.
 void setCredentials(Credentials credentials)
          AWS credentials for API authentication.
 void setIssuer(java.lang.String issuer)
          Sets the value of the Issuer property for this object.
 void setNameQualifier(java.lang.String nameQualifier)
          Sets the value of the NameQualifier property for this object.
 void setPackedPolicySize(java.lang.Integer packedPolicySize)
          A percentage value that indicates the size of the policy in packed form.
 void setSubject(java.lang.String subject)
          Sets the value of the Subject property for this object.
 void setSubjectType(java.lang.String subjectType)
          Sets the value of the SubjectType property for this object.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AssumeRoleWithSAMLResult withAssumedRoleUser(AssumedRoleUser assumedRoleUser)
          The identifiers for the temporary security credentials that the operation returns.
 AssumeRoleWithSAMLResult withAudience(java.lang.String audience)
          Sets the value of the Audience property for this object.
 AssumeRoleWithSAMLResult withCredentials(Credentials credentials)
          AWS credentials for API authentication.
 AssumeRoleWithSAMLResult withIssuer(java.lang.String issuer)
          Sets the value of the Issuer property for this object.
 AssumeRoleWithSAMLResult withNameQualifier(java.lang.String nameQualifier)
          Sets the value of the NameQualifier property for this object.
 AssumeRoleWithSAMLResult withPackedPolicySize(java.lang.Integer packedPolicySize)
          A percentage value that indicates the size of the policy in packed form.
 AssumeRoleWithSAMLResult withSubject(java.lang.String subject)
          Sets the value of the Subject property for this object.
 AssumeRoleWithSAMLResult withSubjectType(java.lang.String subjectType)
          Sets the value of the SubjectType property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssumeRoleWithSAMLResult

public AssumeRoleWithSAMLResult()
Method Detail

getCredentials

public Credentials getCredentials()
AWS credentials for API authentication.

Returns:
AWS credentials for API authentication.

setCredentials

public void setCredentials(Credentials credentials)
AWS credentials for API authentication.

Parameters:
credentials - AWS credentials for API authentication.

withCredentials

public AssumeRoleWithSAMLResult withCredentials(Credentials credentials)
AWS credentials for API authentication.

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

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

getAssumedRoleUser

public AssumedRoleUser getAssumedRoleUser()
The identifiers for the temporary security credentials that the operation returns.

Returns:
The identifiers for the temporary security credentials that the operation returns.

setAssumedRoleUser

public void setAssumedRoleUser(AssumedRoleUser assumedRoleUser)
The identifiers for the temporary security credentials that the operation returns.

Parameters:
assumedRoleUser - The identifiers for the temporary security credentials that the operation returns.

withAssumedRoleUser

public AssumeRoleWithSAMLResult withAssumedRoleUser(AssumedRoleUser assumedRoleUser)
The identifiers for the temporary security credentials that the operation returns.

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

Parameters:
assumedRoleUser - The identifiers for the temporary security credentials that the operation returns.
Returns:
A reference to this updated object so that method calls can be chained together.

getPackedPolicySize

public java.lang.Integer getPackedPolicySize()
A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space.

Constraints:
Range: 0 -

Returns:
A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space.

setPackedPolicySize

public void setPackedPolicySize(java.lang.Integer packedPolicySize)
A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space.

Constraints:
Range: 0 -

Parameters:
packedPolicySize - A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space.

withPackedPolicySize

public AssumeRoleWithSAMLResult withPackedPolicySize(java.lang.Integer packedPolicySize)
A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space.

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

Constraints:
Range: 0 -

Parameters:
packedPolicySize - A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubject

public java.lang.String getSubject()
Returns the value of the Subject property for this object.

Returns:
The value of the Subject property for this object.

setSubject

public void setSubject(java.lang.String subject)
Sets the value of the Subject property for this object.

Parameters:
subject - The new value for the Subject property for this object.

withSubject

public AssumeRoleWithSAMLResult withSubject(java.lang.String subject)
Sets the value of the Subject property for this object.

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

Parameters:
subject - The new value for the Subject property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubjectType

public java.lang.String getSubjectType()
Returns the value of the SubjectType property for this object.

Returns:
The value of the SubjectType property for this object.

setSubjectType

public void setSubjectType(java.lang.String subjectType)
Sets the value of the SubjectType property for this object.

Parameters:
subjectType - The new value for the SubjectType property for this object.

withSubjectType

public AssumeRoleWithSAMLResult withSubjectType(java.lang.String subjectType)
Sets the value of the SubjectType property for this object.

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

Parameters:
subjectType - The new value for the SubjectType property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getIssuer

public java.lang.String getIssuer()
Returns the value of the Issuer property for this object.

Returns:
The value of the Issuer property for this object.

setIssuer

public void setIssuer(java.lang.String issuer)
Sets the value of the Issuer property for this object.

Parameters:
issuer - The new value for the Issuer property for this object.

withIssuer

public AssumeRoleWithSAMLResult withIssuer(java.lang.String issuer)
Sets the value of the Issuer property for this object.

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

Parameters:
issuer - The new value for the Issuer property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAudience

public java.lang.String getAudience()
Returns the value of the Audience property for this object.

Returns:
The value of the Audience property for this object.

setAudience

public void setAudience(java.lang.String audience)
Sets the value of the Audience property for this object.

Parameters:
audience - The new value for the Audience property for this object.

withAudience

public AssumeRoleWithSAMLResult withAudience(java.lang.String audience)
Sets the value of the Audience property for this object.

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

Parameters:
audience - The new value for the Audience property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getNameQualifier

public java.lang.String getNameQualifier()
Returns the value of the NameQualifier property for this object.

Returns:
The value of the NameQualifier property for this object.

setNameQualifier

public void setNameQualifier(java.lang.String nameQualifier)
Sets the value of the NameQualifier property for this object.

Parameters:
nameQualifier - The new value for the NameQualifier property for this object.

withNameQualifier

public AssumeRoleWithSAMLResult withNameQualifier(java.lang.String nameQualifier)
Sets the value of the NameQualifier property for this object.

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

Parameters:
nameQualifier - The new value for the NameQualifier property for this object.
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.