@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssumedRoleUser extends Object implements Serializable, Cloneable, StructuredPojo
An object with the permanent IAM role identity and the temporary session name.
| Constructor and Description |
|---|
AssumedRoleUser() |
| Modifier and Type | Method and Description |
|---|---|
AssumedRoleUser |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the IAM role that the temporary credentials authenticate to.
|
String |
getAssumeRoleId()
The session name of the temporary session requested to STS.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The ARN of the IAM role that the temporary credentials authenticate to.
|
void |
setAssumeRoleId(String assumeRoleId)
The session name of the temporary session requested to STS.
|
String |
toString()
Returns a string representation of this object.
|
AssumedRoleUser |
withArn(String arn)
The ARN of the IAM role that the temporary credentials authenticate to.
|
AssumedRoleUser |
withAssumeRoleId(String assumeRoleId)
The session name of the temporary session requested to STS.
|
public void setArn(String arn)
The ARN of the IAM role that the temporary credentials authenticate to.
arn - The ARN of the IAM role that the temporary credentials authenticate to.public String getArn()
The ARN of the IAM role that the temporary credentials authenticate to.
public AssumedRoleUser withArn(String arn)
The ARN of the IAM role that the temporary credentials authenticate to.
arn - The ARN of the IAM role that the temporary credentials authenticate to.public void setAssumeRoleId(String assumeRoleId)
The session name of the temporary session requested to STS. The value is a unique identifier that contains the
role ID, a colon (:), and the role session name of the role that is being assumed. The role ID is
generated by IAM when the role is created. The role session name part of the value follows this format:
eks-clustername-podname-random UUID
assumeRoleId - The session name of the temporary session requested to STS. The value is a unique identifier that contains
the role ID, a colon (:), and the role session name of the role that is being assumed. The
role ID is generated by IAM when the role is created. The role session name part of the value follows this
format: eks-clustername-podname-random UUID public String getAssumeRoleId()
The session name of the temporary session requested to STS. The value is a unique identifier that contains the
role ID, a colon (:), and the role session name of the role that is being assumed. The role ID is
generated by IAM when the role is created. The role session name part of the value follows this format:
eks-clustername-podname-random UUID
:), and the role session name of the role that is being
assumed. The role ID is generated by IAM when the role is created. The role session name part of the
value follows this format: eks-clustername-podname-random UUID public AssumedRoleUser withAssumeRoleId(String assumeRoleId)
The session name of the temporary session requested to STS. The value is a unique identifier that contains the
role ID, a colon (:), and the role session name of the role that is being assumed. The role ID is
generated by IAM when the role is created. The role session name part of the value follows this format:
eks-clustername-podname-random UUID
assumeRoleId - The session name of the temporary session requested to STS. The value is a unique identifier that contains
the role ID, a colon (:), and the role session name of the role that is being assumed. The
role ID is generated by IAM when the role is created. The role session name part of the value follows this
format: eks-clustername-podname-random UUID public String toString()
toString in class ObjectObject.toString()public AssumedRoleUser clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.