|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.identitymanagement.model.Role
public class Role
The Role data type contains information about a role.
This data type is used as a response element in the following actions:
CreateRole
GetRole
ListRoles
Constructor Summary | |
---|---|
Role()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getArn()
The Amazon Resource Name (ARN) specifying the role. |
String |
getAssumeRolePolicyDocument()
The policy that grants an entity permission to assume the role. |
Date |
getCreateDate()
The date when the role was created. |
String |
getPath()
Path to the role. |
String |
getRoleId()
The stable and unique string identifying the role. |
String |
getRoleName()
The name identifying the role. |
int |
hashCode()
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) specifying the role. |
void |
setAssumeRolePolicyDocument(String assumeRolePolicyDocument)
The policy that grants an entity permission to assume the role. |
void |
setCreateDate(Date createDate)
The date when the role was created. |
void |
setPath(String path)
Path to the role. |
void |
setRoleId(String roleId)
The stable and unique string identifying the role. |
void |
setRoleName(String roleName)
The name identifying the role. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Role |
withArn(String arn)
The Amazon Resource Name (ARN) specifying the role. |
Role |
withAssumeRolePolicyDocument(String assumeRolePolicyDocument)
The policy that grants an entity permission to assume the role. |
Role |
withCreateDate(Date createDate)
The date when the role was created. |
Role |
withPath(String path)
Path to the role. |
Role |
withRoleId(String roleId)
The stable and unique string identifying the role. |
Role |
withRoleName(String roleName)
The name identifying the role. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Role()
Method Detail |
---|
public String getPath()
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
public void setPath(String path)
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
path
- Path to the role. For more information about paths, see Identifiers for IAM Entities in Using AWS
Identity and Access Management.public Role withPath(String path)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
path
- Path to the role. For more information about paths, see Identifiers for IAM Entities in Using AWS
Identity and Access Management.
public String getRoleName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setRoleName(String roleName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
roleName
- The name identifying the role.public Role withRoleName(String roleName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
roleName
- The name identifying the role.
public String getRoleId()
Constraints:
Length: 16 - 32
Pattern: [\w]*
public void setRoleId(String roleId)
Constraints:
Length: 16 - 32
Pattern: [\w]*
roleId
- The stable and unique string identifying the role. For more
information about IDs, see Identifiers for IAM Entities in Using AWS
Identity and Access Management.public Role withRoleId(String roleId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 16 - 32
Pattern: [\w]*
roleId
- The stable and unique string identifying the role. For more
information about IDs, see Identifiers for IAM Entities in Using AWS
Identity and Access Management.
public String getArn()
Constraints:
Length: 20 - 2048
public void setArn(String arn)
Constraints:
Length: 20 - 2048
arn
- The Amazon Resource Name (ARN) specifying the role. For more
information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS
Identity and Access Management.public Role withArn(String arn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
arn
- The Amazon Resource Name (ARN) specifying the role. For more
information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS
Identity and Access Management.
public Date getCreateDate()
public void setCreateDate(Date createDate)
createDate
- The date when the role was created.public Role withCreateDate(Date createDate)
Returns a reference to this object so that method calls can be chained together.
createDate
- The date when the role was created.
public String getAssumeRolePolicyDocument()
The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.
Constraints:
Length: 1 - 131072
Pattern: [
-?]+
The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.
public void setAssumeRolePolicyDocument(String assumeRolePolicyDocument)
The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.
Constraints:
Length: 1 - 131072
Pattern: [
-?]+
assumeRolePolicyDocument
- The policy that grants an entity permission to assume the role. The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.
public Role withAssumeRolePolicyDocument(String assumeRolePolicyDocument)
The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 131072
Pattern: [
-?]+
assumeRolePolicyDocument
- The policy that grants an entity permission to assume the role. The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |