Class AssumedRoleUser
- All Implemented Interfaces:
Serializable
,Cloneable
The identifiers for the temporary security credentials that the operation returns.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getArn()
The ARN of the temporary security credentials that are returned from the AssumeRole action.A unique identifier that contains the role ID and the role session name of the role that is being assumed.int
hashCode()
void
The ARN of the temporary security credentials that are returned from the AssumeRole action.void
setAssumedRoleId
(String assumedRoleId) A unique identifier that contains the role ID and the role session name of the role that is being assumed.toString()
Returns a string representation of this object; useful for testing and debugging.The ARN of the temporary security credentials that are returned from the AssumeRole action.withAssumedRoleId
(String assumedRoleId) A unique identifier that contains the role ID and the role session name of the role that is being assumed.
-
Constructor Details
-
AssumedRoleUser
public AssumedRoleUser()
-
-
Method Details
-
setAssumedRoleId
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.
- 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.
-
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.
- 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.
-
withAssumedRoleId
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
setArn
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 IAM Identifiers in Using IAM.
- 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 IAM Identifiers in Using IAM.
-
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 IAM Identifiers in Using IAM.
- 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 IAM Identifiers in Using IAM.
-
withArn
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 IAM Identifiers in Using IAM.
- 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 IAM Identifiers in Using IAM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-