@Generated(value="software.amazon.awssdk:codegen") public final class Group extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Group.Builder,Group>
The representation of an WorkMail group.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Group.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Group.Builder |
builder() |
Instant |
disabledDate()
The date indicating when the group was disabled from WorkMail use.
|
String |
email()
The email of the group.
|
Instant |
enabledDate()
The date indicating when the group was enabled for WorkMail use.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the group.
|
String |
name()
The name of the group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Group.Builder> |
serializableBuilderClass() |
EntityState |
state()
The state of the group, which can be ENABLED, DISABLED, or DELETED.
|
String |
stateAsString()
The state of the group, which can be ENABLED, DISABLED, or DELETED.
|
Group.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The identifier of the group.
public final String email()
The email of the group.
public final String name()
The name of the group.
public final EntityState state()
The state of the group, which can be ENABLED, DISABLED, or DELETED.
If the service returns an enum value that is not available in the current SDK version, state will return
EntityState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
EntityStatepublic final String stateAsString()
The state of the group, which can be ENABLED, DISABLED, or DELETED.
If the service returns an enum value that is not available in the current SDK version, state will return
EntityState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
EntityStatepublic final Instant enabledDate()
The date indicating when the group was enabled for WorkMail use.
public final Instant disabledDate()
The date indicating when the group was disabled from WorkMail use.
public Group.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Group.Builder,Group>public static Group.Builder builder()
public static Class<? extends Group.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.