Class PolicyGroup
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about a group that a managed policy is attached to.
This data type is used as a response element in the ListEntitiesForPolicy action.
For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The stable and unique string identifying the group.The name (friendly name, not ARN) identifying the group.int
hashCode()
void
setGroupId
(String groupId) The stable and unique string identifying the group.void
setGroupName
(String groupName) The name (friendly name, not ARN) identifying the group.toString()
Returns a string representation of this object; useful for testing and debugging.withGroupId
(String groupId) The stable and unique string identifying the group.withGroupName
(String groupName) The name (friendly name, not ARN) identifying the group.
-
Constructor Details
-
PolicyGroup
public PolicyGroup()
-
-
Method Details
-
setGroupName
The name (friendly name, not ARN) identifying the group.
- Parameters:
groupName
- The name (friendly name, not ARN) identifying the group.
-
getGroupName
The name (friendly name, not ARN) identifying the group.
- Returns:
- The name (friendly name, not ARN) identifying the group.
-
withGroupName
The name (friendly name, not ARN) identifying the group.
- Parameters:
groupName
- The name (friendly name, not ARN) identifying 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 IAM User Guide.
- Parameters:
groupId
- The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.
-
getGroupId
The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.
- Returns:
- The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.
-
withGroupId
The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.
- Parameters:
groupId
- The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.- 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
-