public class AssumeRoleWithSAMLResult extends Object implements 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(Object obj) |
AssumedRoleUser |
getAssumedRoleUser()
The identifiers for the temporary security credentials that the
operation returns.
|
String |
getAudience()
Returns the value of the Audience property for this object.
|
Credentials |
getCredentials()
AWS credentials for API authentication.
|
String |
getIssuer()
Returns the value of the Issuer property for this object.
|
String |
getNameQualifier()
Returns the value of the NameQualifier property for this object.
|
Integer |
getPackedPolicySize()
A percentage value that indicates the size of the policy in packed
form.
|
String |
getSubject()
Returns the value of the Subject property for this object.
|
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(String audience)
Sets the value of the Audience property for this object.
|
void |
setCredentials(Credentials credentials)
AWS credentials for API authentication.
|
void |
setIssuer(String issuer)
Sets the value of the Issuer property for this object.
|
void |
setNameQualifier(String nameQualifier)
Sets the value of the NameQualifier property for this object.
|
void |
setPackedPolicySize(Integer packedPolicySize)
A percentage value that indicates the size of the policy in packed
form.
|
void |
setSubject(String subject)
Sets the value of the Subject property for this object.
|
void |
setSubjectType(String subjectType)
Sets the value of the SubjectType property for this object.
|
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(String audience)
Sets the value of the Audience property for this object.
|
AssumeRoleWithSAMLResult |
withCredentials(Credentials credentials)
AWS credentials for API authentication.
|
AssumeRoleWithSAMLResult |
withIssuer(String issuer)
Sets the value of the Issuer property for this object.
|
AssumeRoleWithSAMLResult |
withNameQualifier(String nameQualifier)
Sets the value of the NameQualifier property for this object.
|
AssumeRoleWithSAMLResult |
withPackedPolicySize(Integer packedPolicySize)
A percentage value that indicates the size of the policy in packed
form.
|
AssumeRoleWithSAMLResult |
withSubject(String subject)
Sets the value of the Subject property for this object.
|
AssumeRoleWithSAMLResult |
withSubjectType(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 Integer getPackedPolicySize()
Constraints:
Range: 0 -
public void setPackedPolicySize(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(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 String getSubject()
public void setSubject(String subject)
subject
- The new value for the Subject property for this object.public AssumeRoleWithSAMLResult withSubject(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 String getSubjectType()
public void setSubjectType(String subjectType)
subjectType
- The new value for the SubjectType property for this object.public AssumeRoleWithSAMLResult withSubjectType(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 String getIssuer()
public void setIssuer(String issuer)
issuer
- The new value for the Issuer property for this object.public AssumeRoleWithSAMLResult withIssuer(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 String getAudience()
public void setAudience(String audience)
audience
- The new value for the Audience property for this object.public AssumeRoleWithSAMLResult withAudience(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 String getNameQualifier()
public void setNameQualifier(String nameQualifier)
nameQualifier
- The new value for the NameQualifier property for this object.public AssumeRoleWithSAMLResult withNameQualifier(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.