@Generated(value="software.amazon.awssdk:codegen") public class Member extends Object implements StructuredPojo, ToCopyableBuilder<Member.Builder,Member>
The representation of a group member (user or group).
| Modifier and Type | Class and Description |
|---|---|
static interface |
Member.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Member.Builder |
builder() |
Instant |
disabledDate()
The date indicating when the member was disabled from Amazon WorkMail use.
|
Instant |
enabledDate()
The date indicating when the member was enabled for Amazon WorkMail use.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the member.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
name()
The name of the member.
|
static Class<? extends Member.Builder> |
serializableBuilderClass() |
EntityState |
state()
The state of the member, which can be ENABLED, DISABLED, or DELETED.
|
String |
stateAsString()
The state of the member, which can be ENABLED, DISABLED, or DELETED.
|
Member.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
MemberType |
type()
A member can be a user or group.
|
String |
typeAsString()
A member can be a user or group.
|
copypublic String id()
The identifier of the member.
public String name()
The name of the member.
public MemberType type()
A member can be a user or group.
If the service returns an enum value that is not available in the current SDK version, type will return
MemberType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
MemberTypepublic String typeAsString()
A member can be a user or group.
If the service returns an enum value that is not available in the current SDK version, type will return
MemberType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
MemberTypepublic EntityState state()
The state of the member, 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 String stateAsString()
The state of the member, 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 Instant enabledDate()
The date indicating when the member was enabled for Amazon WorkMail use.
public Instant disabledDate()
The date indicating when the member was disabled from Amazon WorkMail use.
public Member.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Member.Builder,Member>public static Member.Builder builder()
public static Class<? extends Member.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.