public class GroupDetail extends Object implements Serializable, Cloneable
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 |
|---|---|
GroupDetail |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN).
|
List<AttachedPolicy> |
getAttachedManagedPolicies()
A list of the managed policies attached to the group.
|
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 inline policies embedded in the group.
|
String |
getPath()
The path to the group.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN).
|
void |
setAttachedManagedPolicies(Collection<AttachedPolicy> attachedManagedPolicies)
A list of the managed policies attached to the group.
|
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 inline policies embedded in the group.
|
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 |
withAttachedManagedPolicies(AttachedPolicy... attachedManagedPolicies)
A list of the managed policies attached to the group.
|
GroupDetail |
withAttachedManagedPolicies(Collection<AttachedPolicy> attachedManagedPolicies)
A list of the managed policies attached to the group.
|
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 inline policies embedded in the group.
|
GroupDetail |
withGroupPolicyList(PolicyDetail... groupPolicyList)
A list of the inline policies embedded in the group.
|
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 inline policies embedded in the group.public GroupDetail withGroupPolicyList(PolicyDetail... groupPolicyList)
NOTE: This method appends the values to the existing list (if
any). Use setGroupPolicyList(java.util.Collection) or withGroupPolicyList(java.util.Collection) if you want to override
the existing values.
Returns a reference to this object so that method calls can be chained together.
groupPolicyList - A list of the inline policies embedded in the group.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 inline policies embedded in the group.public List<AttachedPolicy> getAttachedManagedPolicies()
public void setAttachedManagedPolicies(Collection<AttachedPolicy> attachedManagedPolicies)
attachedManagedPolicies - A list of the managed policies attached to the group.public GroupDetail withAttachedManagedPolicies(AttachedPolicy... attachedManagedPolicies)
NOTE: This method appends the values to the existing list (if
any). Use setAttachedManagedPolicies(java.util.Collection) or
withAttachedManagedPolicies(java.util.Collection) if you want
to override the existing values.
Returns a reference to this object so that method calls can be chained together.
attachedManagedPolicies - A list of the managed policies attached to the group.public GroupDetail withAttachedManagedPolicies(Collection<AttachedPolicy> attachedManagedPolicies)
Returns a reference to this object so that method calls can be chained together.
attachedManagedPolicies - A list of the managed policies attached to the group.public String toString()
toString in class ObjectObject.toString()public GroupDetail clone()
Copyright © 2015. All rights reserved.