@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Group extends Object implements Serializable, Cloneable, StructuredPojo
The representation of an Amazon WorkMail group.
Constructor and Description |
---|
Group() |
Modifier and Type | Method and Description |
---|---|
Group |
clone() |
boolean |
equals(Object obj) |
Date |
getDisabledDate()
The date indicating when the group was disabled from Amazon WorkMail use.
|
String |
getEmail()
The email of the group.
|
Date |
getEnabledDate()
The date indicating when the group was enabled for Amazon WorkMail use.
|
String |
getId()
The identifier of the group.
|
String |
getName()
The name of the group.
|
String |
getState()
The state of the group, which can be ENABLED, DISABLED, or DELETED.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDisabledDate(Date disabledDate)
The date indicating when the group was disabled from Amazon WorkMail use.
|
void |
setEmail(String email)
The email of the group.
|
void |
setEnabledDate(Date enabledDate)
The date indicating when the group was enabled for Amazon WorkMail use.
|
void |
setId(String id)
The identifier of the group.
|
void |
setName(String name)
The name of the group.
|
void |
setState(String state)
The state of the group, which can be ENABLED, DISABLED, or DELETED.
|
String |
toString()
Returns a string representation of this object.
|
Group |
withDisabledDate(Date disabledDate)
The date indicating when the group was disabled from Amazon WorkMail use.
|
Group |
withEmail(String email)
The email of the group.
|
Group |
withEnabledDate(Date enabledDate)
The date indicating when the group was enabled for Amazon WorkMail use.
|
Group |
withId(String id)
The identifier of the group.
|
Group |
withName(String name)
The name of the group.
|
Group |
withState(EntityState state)
The state of the group, which can be ENABLED, DISABLED, or DELETED.
|
Group |
withState(String state)
The state of the group, which can be ENABLED, DISABLED, or DELETED.
|
public void setId(String id)
The identifier of the group.
id
- The identifier of the group.public String getId()
The identifier of the group.
public Group withId(String id)
The identifier of the group.
id
- The identifier of the group.public void setEmail(String email)
The email of the group.
email
- The email of the group.public String getEmail()
The email of the group.
public Group withEmail(String email)
The email of the group.
email
- The email of the group.public void setName(String name)
The name of the group.
name
- The name of the group.public String getName()
The name of the group.
public Group withName(String name)
The name of the group.
name
- The name of the group.public void setState(String state)
The state of the group, which can be ENABLED, DISABLED, or DELETED.
state
- The state of the group, which can be ENABLED, DISABLED, or DELETED.EntityState
public String getState()
The state of the group, which can be ENABLED, DISABLED, or DELETED.
EntityState
public Group withState(String state)
The state of the group, which can be ENABLED, DISABLED, or DELETED.
state
- The state of the group, which can be ENABLED, DISABLED, or DELETED.EntityState
public Group withState(EntityState state)
The state of the group, which can be ENABLED, DISABLED, or DELETED.
state
- The state of the group, which can be ENABLED, DISABLED, or DELETED.EntityState
public void setEnabledDate(Date enabledDate)
The date indicating when the group was enabled for Amazon WorkMail use.
enabledDate
- The date indicating when the group was enabled for Amazon WorkMail use.public Date getEnabledDate()
The date indicating when the group was enabled for Amazon WorkMail use.
public Group withEnabledDate(Date enabledDate)
The date indicating when the group was enabled for Amazon WorkMail use.
enabledDate
- The date indicating when the group was enabled for Amazon WorkMail use.public void setDisabledDate(Date disabledDate)
The date indicating when the group was disabled from Amazon WorkMail use.
disabledDate
- The date indicating when the group was disabled from Amazon WorkMail use.public Date getDisabledDate()
The date indicating when the group was disabled from Amazon WorkMail use.
public Group withDisabledDate(Date disabledDate)
The date indicating when the group was disabled from Amazon WorkMail use.
disabledDate
- The date indicating when the group was disabled from Amazon WorkMail use.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.