Class GroupDetail
- All Implemented Interfaces:
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getArn()
A list of the managed policies attached to the group.The date and time, in ISO 8601 date-time format, when the group was created.The stable and unique string identifying the group.The friendly name that identifies the group.A list of the inline policies embedded in the group.getPath()
The path to the group.int
hashCode()
void
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
The path to the group.toString()
Returns a string representation of this object; useful for testing and debugging.withAttachedManagedPolicies
(AttachedPolicy... attachedManagedPolicies) A list of the managed policies attached to the group.withAttachedManagedPolicies
(Collection<AttachedPolicy> attachedManagedPolicies) A list of the managed policies attached to the group.withCreateDate
(Date createDate) The date and time, in ISO 8601 date-time format, when the group was created.withGroupId
(String groupId) The stable and unique string identifying the group.withGroupName
(String groupName) The friendly name that identifies the group.withGroupPolicyList
(PolicyDetail... groupPolicyList) A list of the inline policies embedded in the group.withGroupPolicyList
(Collection<PolicyDetail> groupPolicyList) A list of the inline policies embedded in the group.The path to the group.
-
Constructor Details
-
GroupDetail
public GroupDetail()
-
-
Method Details
-
setPath
The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
- Parameters:
path
- The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
-
getPath
The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
- Returns:
- The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
-
withPath
The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
- Parameters:
path
- The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGroupName
The friendly name that identifies the group.
- Parameters:
groupName
- The friendly name that identifies the group.
-
getGroupName
The friendly name that identifies the group.
- Returns:
- The friendly name that identifies the group.
-
withGroupName
The friendly name that identifies the group.
- Parameters:
groupName
- The friendly name that identifies the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGroupId
The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide.
- Parameters:
groupId
- The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide.
-
getGroupId
The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide.
- Returns:
- The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide.
-
withGroupId
The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide.
- Parameters:
groupId
- The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setArn
- Parameters:
arn
-
-
getArn
- Returns:
-
withArn
- Parameters:
arn
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreateDate
The date and time, in ISO 8601 date-time format, when the group was created.
- Parameters:
createDate
- The date and time, in ISO 8601 date-time format, when the group was created.
-
getCreateDate
The date and time, in ISO 8601 date-time format, when the group was created.
- Returns:
- The date and time, in ISO 8601 date-time format, when the group was created.
-
withCreateDate
The date and time, in ISO 8601 date-time format, when the group was created.
- Parameters:
createDate
- The date and time, in ISO 8601 date-time format, when the group was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getGroupPolicyList
A list of the inline policies embedded in the group.
- Returns:
- A list of the inline policies embedded in the group.
-
setGroupPolicyList
A list of the inline policies embedded in the group.
- Parameters:
groupPolicyList
- A list of the inline policies embedded in the group.
-
withGroupPolicyList
A list of the inline policies embedded in the group.
NOTE: This method appends the values to the existing list (if any). Use
setGroupPolicyList(java.util.Collection)
orwithGroupPolicyList(java.util.Collection)
if you want to override the existing values.- Parameters:
groupPolicyList
- A list of the inline policies embedded in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withGroupPolicyList
A list of the inline policies embedded in the group.
- Parameters:
groupPolicyList
- A list of the inline policies embedded in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttachedManagedPolicies
A list of the managed policies attached to the group.
- Returns:
- A list of the managed policies attached to the group.
-
setAttachedManagedPolicies
A list of the managed policies attached to the group.
- Parameters:
attachedManagedPolicies
- A list of the managed policies attached to the group.
-
withAttachedManagedPolicies
A list of the managed policies attached to the group.
NOTE: This method appends the values to the existing list (if any). Use
setAttachedManagedPolicies(java.util.Collection)
orwithAttachedManagedPolicies(java.util.Collection)
if you want to override the existing values.- Parameters:
attachedManagedPolicies
- A list of the managed policies attached to the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttachedManagedPolicies
A list of the managed policies attached to the group.
- Parameters:
attachedManagedPolicies
- A list of the managed policies attached to the group.- 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
-