@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 operation.
Constructor and Description |
---|
GroupDetail() |
Modifier and Type | Method and Description |
---|---|
GroupDetail |
clone() |
boolean |
equals(Object obj) |
String |
getArn() |
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) |
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.
|
GroupDetail |
withArn(String 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 void setPath(String path)
The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
path
- The path to the group. For more information about paths, see IAM identifiers in the
IAM User Guide.public String getPath()
The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
public GroupDetail withPath(String path)
The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
path
- The path to the group. For more information about paths, see IAM identifiers in the
IAM User Guide.public void setGroupName(String groupName)
The friendly name that identifies the group.
groupName
- The friendly name that identifies the group.public String getGroupName()
The friendly name that identifies the group.
public GroupDetail withGroupName(String groupName)
The friendly name that identifies the group.
groupName
- The friendly name that identifies 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 GroupDetail 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 void setArn(String arn)
arn
- public String getArn()
public GroupDetail withArn(String arn)
arn
- public void setCreateDate(Date createDate)
The date and time, in ISO 8601 date-time format, when the group was created.
createDate
- The date and time, in ISO 8601 date-time format, when the
group was created.public Date getCreateDate()
The date and time, in ISO 8601 date-time format, when the group was created.
public GroupDetail withCreateDate(Date createDate)
The date and time, in ISO 8601 date-time format, when the group was created.
createDate
- The date and time, in ISO 8601 date-time format, when the
group was created.public List<PolicyDetail> getGroupPolicyList()
A list of the inline policies embedded in the group.
public void setGroupPolicyList(Collection<PolicyDetail> groupPolicyList)
A list of the inline policies embedded in the group.
groupPolicyList
- A list of the inline policies embedded in the group.public GroupDetail withGroupPolicyList(PolicyDetail... groupPolicyList)
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)
or withGroupPolicyList(java.util.Collection)
if you
want to override the existing values.
groupPolicyList
- A list of the inline policies embedded in the group.public GroupDetail withGroupPolicyList(Collection<PolicyDetail> groupPolicyList)
A list of the inline policies embedded in the group.
groupPolicyList
- A list of the inline policies embedded in the group.public List<AttachedPolicy> getAttachedManagedPolicies()
A list of the managed policies attached to the group.
public void setAttachedManagedPolicies(Collection<AttachedPolicy> attachedManagedPolicies)
A list of the managed policies attached to the group.
attachedManagedPolicies
- A list of the managed policies attached to the group.public GroupDetail withAttachedManagedPolicies(AttachedPolicy... attachedManagedPolicies)
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)
or
withAttachedManagedPolicies(java.util.Collection)
if you want to override the existing values.
attachedManagedPolicies
- A list of the managed policies attached to the group.public GroupDetail withAttachedManagedPolicies(Collection<AttachedPolicy> attachedManagedPolicies)
A list of the managed policies attached to the group.
attachedManagedPolicies
- A list of the managed policies attached to the group.public String toString()
toString
in class Object
Object.toString()
public GroupDetail clone()