@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Group extends Object implements Serializable, Cloneable
Contains information about an IAM group entity.
This data type is used as a response element in the following actions:
Constructor and Description |
---|
Group()
Default constructor for Group object.
|
Group(String path,
String groupName,
String groupId,
String arn,
Date createDate)
Constructs a new Group object.
|
Modifier and Type | Method and Description |
---|---|
Group |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) specifying 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.
|
String |
getPath()
The path to the group.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) specifying 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 |
setPath(String path)
The path to the group.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Group |
withArn(String arn)
The Amazon Resource Name (ARN) specifying the group.
|
Group |
withCreateDate(Date createDate)
The date and time, in ISO 8601 date-time format, when the group was
created.
|
Group |
withGroupId(String groupId)
The stable and unique string identifying the group.
|
Group |
withGroupName(String groupName)
The friendly name that identifies the group.
|
Group |
withPath(String path)
The path to the group.
|
public Group()
public Group(String path, String groupName, String groupId, String arn, Date createDate)
path
- The path to the group. For more information about paths, see IAM Identifiers in the
Using IAM guide.groupName
- The friendly name that identifies the group.groupId
- The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the
Using IAM guide.arn
- The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them
in policies, see IAM
Identifiers in the Using IAM guide.createDate
- The date and time, in ISO 8601 date-time format, when the
group was created.public void setPath(String path)
The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
path
- The path to the group. For more information about paths, see IAM Identifiers in the
Using IAM guide.public String getPath()
The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
public Group withPath(String path)
The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
path
- The path to the group. For more information about paths, see IAM Identifiers in the
Using IAM 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 Group 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 Using IAM guide.
groupId
- The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the
Using IAM guide.public String getGroupId()
The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide.
public Group withGroupId(String groupId)
The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide.
groupId
- The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the
Using IAM guide.public void setArn(String arn)
The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.
arn
- The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them
in policies, see IAM
Identifiers in the Using IAM guide.public String getArn()
The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.
public Group withArn(String arn)
The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.
arn
- The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them
in policies, see IAM
Identifiers in the Using IAM guide.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 Group 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 String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.