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.
| Constructor and Description |
|---|
AssumeRoleWithSAMLResult() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public Credentials getCredentials()
public void setCredentials(Credentials credentials)
credentials - AWS credentials for API authentication.public AssumeRoleWithSAMLResult withCredentials(Credentials credentials)
Returns a reference to this object so that method calls can be chained together.
credentials - AWS credentials for API authentication.public AssumedRoleUser getAssumedRoleUser()
public void setAssumedRoleUser(AssumedRoleUser assumedRoleUser)
assumedRoleUser - The identifiers for the temporary security credentials that the
operation returns.public AssumeRoleWithSAMLResult withAssumedRoleUser(AssumedRoleUser assumedRoleUser)
Returns a reference to this object so that method calls can be chained together.
assumedRoleUser - The identifiers for the temporary security credentials that the
operation returns.public java.lang.Integer getPackedPolicySize()
Constraints:
Range: 0 -
public void setPackedPolicySize(java.lang.Integer packedPolicySize)
Constraints:
Range: 0 -
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.public AssumeRoleWithSAMLResult withPackedPolicySize(java.lang.Integer packedPolicySize)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
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.public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
subject - The new value for the Subject property for this object.public AssumeRoleWithSAMLResult withSubject(java.lang.String subject)
Returns a reference to this object so that method calls can be chained together.
subject - The new value for the Subject property for this object.public java.lang.String getSubjectType()
public void setSubjectType(java.lang.String subjectType)
subjectType - The new value for the SubjectType property for this object.public AssumeRoleWithSAMLResult withSubjectType(java.lang.String subjectType)
Returns a reference to this object so that method calls can be chained together.
subjectType - The new value for the SubjectType property for this object.public java.lang.String getIssuer()
public void setIssuer(java.lang.String issuer)
issuer - The new value for the Issuer property for this object.public AssumeRoleWithSAMLResult withIssuer(java.lang.String issuer)
Returns a reference to this object so that method calls can be chained together.
issuer - The new value for the Issuer property for this object.public java.lang.String getAudience()
public void setAudience(java.lang.String audience)
audience - The new value for the Audience property for this object.public AssumeRoleWithSAMLResult withAudience(java.lang.String audience)
Returns a reference to this object so that method calls can be chained together.
audience - The new value for the Audience property for this object.public java.lang.String getNameQualifier()
public void setNameQualifier(java.lang.String nameQualifier)
nameQualifier - The new value for the NameQualifier property for this object.public AssumeRoleWithSAMLResult withNameQualifier(java.lang.String nameQualifier)
Returns a reference to this object so that method calls can be chained together.
nameQualifier - The new value for the NameQualifier property for this object.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object