public class GroupDetail extends Object implements Serializable
Contains information about an IAM group, including all of the group's policies.
This data type is used as a response element in the GetAccountAuthorizationDetails action.
| Constructor and Description |
|---|
GroupDetail() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN).
|
Date |
getCreateDate()
The date and time, in ISO
8601 date-time format, when the group was created.
|
String |
getGroupId()
The stable and unique string identifying the group.
|
String |
getGroupName()
The friendly name that identifies the group.
|
List<PolicyDetail> |
getGroupPolicyList()
A list of the group's policies.
|
String |
getPath()
The path to the group.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN).
|
void |
setCreateDate(Date createDate)
The date and time, in ISO
8601 date-time format, when the group was created.
|
void |
setGroupId(String groupId)
The stable and unique string identifying the group.
|
void |
setGroupName(String groupName)
The friendly name that identifies the group.
|
void |
setGroupPolicyList(Collection<PolicyDetail> groupPolicyList)
A list of the group's policies.
|
void |
setPath(String path)
The path to the group.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GroupDetail |
withArn(String arn)
The Amazon Resource Name (ARN).
|
GroupDetail |
withCreateDate(Date createDate)
The date and time, in ISO
8601 date-time format, when the group was created.
|
GroupDetail |
withGroupId(String groupId)
The stable and unique string identifying the group.
|
GroupDetail |
withGroupName(String groupName)
The friendly name that identifies the group.
|
GroupDetail |
withGroupPolicyList(Collection<PolicyDetail> groupPolicyList)
A list of the group's policies.
|
GroupDetail |
withGroupPolicyList(PolicyDetail... groupPolicyList)
A list of the group's policies.
|
GroupDetail |
withPath(String path)
The path to the group.
|
public String getPath()
Constraints:
Length: 1 - 512
Pattern: (\u002F)|(\u002F[\u0021-\u007F]+\u002F)
public void setPath(String path)
Constraints:
Length: 1 - 512
Pattern: (\u002F)|(\u002F[\u0021-\u007F]+\u002F)
path - The path to the group. For more information about paths, see IAM
Identifiers in the Using IAM guide.public GroupDetail withPath(String path)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: (\u002F)|(\u002F[\u0021-\u007F]+\u002F)
path - The path to the group. For more information about paths, see IAM
Identifiers in the Using IAM guide.public String getGroupName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setGroupName(String groupName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
groupName - The friendly name that identifies the group.public GroupDetail withGroupName(String groupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
groupName - The friendly name that identifies the group.public String getGroupId()
Constraints:
Length: 16 - 32
Pattern: [\w]*
public void setGroupId(String groupId)
Constraints:
Length: 16 - 32
Pattern: [\w]*
groupId - The stable and unique string identifying the group. For more
information about IDs, see IAM
Identifiers in the Using IAM guide.public GroupDetail withGroupId(String groupId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 16 - 32
Pattern: [\w]*
groupId - The stable and unique string identifying the group. For more
information about IDs, see IAM
Identifiers in the Using IAM guide.public String getArn()
For more information about ARNs, go to Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Constraints:
Length: 20 - 2048
For more information about ARNs, go to Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public void setArn(String arn)
For more information about ARNs, go to Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Constraints:
Length: 20 - 2048
arn - The Amazon Resource Name (ARN). ARNs are unique identifiers for AWS
resources. For more information about ARNs, go to Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public GroupDetail withArn(String arn)
For more information about ARNs, go to Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
arn - The Amazon Resource Name (ARN). ARNs are unique identifiers for AWS
resources. For more information about ARNs, go to Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public Date getCreateDate()
public void setCreateDate(Date createDate)
createDate - The date and time, in ISO
8601 date-time format, when the group was created.public GroupDetail withCreateDate(Date createDate)
Returns a reference to this object so that method calls can be chained together.
createDate - The date and time, in ISO
8601 date-time format, when the group was created.public List<PolicyDetail> getGroupPolicyList()
public void setGroupPolicyList(Collection<PolicyDetail> groupPolicyList)
groupPolicyList - A list of the group's policies.public GroupDetail withGroupPolicyList(PolicyDetail... groupPolicyList)
Returns a reference to this object so that method calls can be chained together.
groupPolicyList - A list of the group's policies.public GroupDetail withGroupPolicyList(Collection<PolicyDetail> groupPolicyList)
Returns a reference to this object so that method calls can be chained together.
groupPolicyList - A list of the group's policies.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.