public class AssumedRoleUser extends Object implements Serializable
The identifiers for the temporary security credentials that the operation returns.
Constructor and Description |
---|
AssumedRoleUser() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the temporary security credentials that are returned from the
AssumeRole action.
|
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(String arn)
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssumedRoleUser |
withArn(String arn)
The ARN of the temporary security credentials that are returned from the
AssumeRole action.
|
AssumedRoleUser |
withAssumedRoleId(String assumedRoleId)
A unique identifier that contains the role ID and the role session name
of the role that is being assumed.
|
public 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 - 193
Pattern: [\w+=,.@:-]*
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.
public void setAssumedRoleId(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 - 193
Pattern: [\w+=,.@:-]*
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.
public AssumedRoleUser withAssumedRoleId(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 - 193
Pattern: [\w+=,.@:-]*
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.
public 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 IAM Identifiers in Using IAM.
Constraints:
Length: 20 - 2048
Pattern: [
-~
--�က0-ჿFF]+
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.
public void setArn(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 IAM Identifiers in Using IAM.
Constraints:
Length: 20 - 2048
Pattern: [
-~
--�က0-ჿFF]+
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.
public AssumedRoleUser withArn(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 IAM Identifiers in Using IAM.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern: [
-~
--�က0-ჿFF]+
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.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.