com.amazonaws.services.securitytoken.model
Class AssumedRoleUser

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

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

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

See Also:
Serialized Form

Constructor Summary
AssumedRoleUser()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getArn()
          The ARN of the temporary security credentials that are returned from the AssumeRole action.
 java.lang.String getAssumedRoleId()
          A unique identifier that contains the role ID and the role session name of the role that is being assumed.
 int hashCode()
           
 void setArn(java.lang.String arn)
          The ARN of the temporary security credentials that are returned from the AssumeRole action.
 void setAssumedRoleId(java.lang.String assumedRoleId)
          A unique identifier that contains the role ID and the role session name of the role that is being assumed.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AssumedRoleUser withArn(java.lang.String arn)
          The ARN of the temporary security credentials that are returned from the AssumeRole action.
 AssumedRoleUser withAssumedRoleId(java.lang.String assumedRoleId)
          A unique identifier that contains the role ID and the role session name of the role that is being assumed.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssumedRoleUser

public AssumedRoleUser()
Method Detail

getAssumedRoleId

public java.lang.String getAssumedRoleId()
A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created.

Constraints:
Length: 2 - 96
Pattern: [\w+=,.@:-]*

Returns:
A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created.

setAssumedRoleId

public void setAssumedRoleId(java.lang.String assumedRoleId)
A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created.

Constraints:
Length: 2 - 96
Pattern: [\w+=,.@:-]*

Parameters:
assumedRoleId - A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created.

withAssumedRoleId

public AssumedRoleUser withAssumedRoleId(java.lang.String assumedRoleId)
A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created.

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

Constraints:
Length: 2 - 96
Pattern: [\w+=,.@:-]*

Parameters:
assumedRoleId - A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created.
Returns:
A reference to this updated object so that method calls can be chained together.

getArn

public java.lang.String getArn()
The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.

Constraints:
Length: 20 - 2048

Returns:
The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.

setArn

public void setArn(java.lang.String arn)
The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.

Constraints:
Length: 20 - 2048

Parameters:
arn - The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.

withArn

public AssumedRoleUser withArn(java.lang.String arn)
The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.

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

Constraints:
Length: 20 - 2048

Parameters:
arn - The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.
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.