@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyGroup extends Object implements 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.
Constructor and Description |
---|
PolicyGroup() |
Modifier and Type | Method and Description |
---|---|
PolicyGroup |
clone() |
boolean |
equals(Object obj) |
String |
getGroupId()
The stable and unique string identifying the group.
|
String |
getGroupName()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PolicyGroup |
withGroupId(String groupId)
The stable and unique string identifying the group.
|
PolicyGroup |
withGroupName(String groupName)
The name (friendly name, not ARN) identifying the group.
|
public void setGroupName(String groupName)
The name (friendly name, not ARN) identifying the group.
groupName
- The name (friendly name, not ARN) identifying the group.public String getGroupName()
The name (friendly name, not ARN) identifying the group.
public PolicyGroup withGroupName(String groupName)
The name (friendly name, not ARN) identifying the group.
groupName
- The name (friendly name, not ARN) identifying the group.public void setGroupId(String groupId)
The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.
groupId
- The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in
the IAM User Guide.public String getGroupId()
The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.
public PolicyGroup withGroupId(String groupId)
The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.
groupId
- The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in
the IAM User Guide.public String toString()
toString
in class Object
Object.toString()
public PolicyGroup clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.