@Generated(value="software.amazon.awssdk:codegen") public final class DescribeUserResponse extends WorkMailResponse implements ToCopyableBuilder<DescribeUserResponse.Builder,DescribeUserResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeUserResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeUserResponse.Builder |
builder() |
String |
city()
City where the user is located.
|
String |
company()
Company of the user.
|
String |
country()
Country where the user is located.
|
String |
department()
Department of the user.
|
Instant |
disabledDate()
The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
|
String |
displayName()
The display name of the user.
|
String |
email()
The email of the user.
|
Instant |
enabledDate()
The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
firstName()
First name of the user.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
hiddenFromGlobalAddressList()
If enabled, the user is hidden from the global address list.
|
String |
initials()
Initials of the user.
|
String |
jobTitle()
Job title of the user.
|
String |
lastName()
Last name of the user.
|
Instant |
mailboxDeprovisionedDate()
The date when the mailbox was removed for the user.
|
Instant |
mailboxProvisionedDate()
The date when the mailbox was created for the user.
|
String |
name()
The name for the user.
|
String |
office()
Office where the user is located.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeUserResponse.Builder> |
serializableBuilderClass() |
EntityState |
state()
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
|
String |
stateAsString()
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
|
String |
street()
Street where the user is located.
|
String |
telephone()
User's contact number.
|
DescribeUserResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userId()
The identifier for the described user.
|
UserRole |
userRole()
In certain cases, other entities are modeled as users.
|
String |
userRoleAsString()
In certain cases, other entities are modeled as users.
|
String |
zipCode()
Zip code of the user.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String userId()
The identifier for the described user.
public final String name()
The name for the user.
public final String email()
The email of the user.
public final String displayName()
The display name of the user.
public final EntityState state()
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
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 a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
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 UserRole userRole()
In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.
If the service returns an enum value that is not available in the current SDK version, userRole will
return UserRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
userRoleAsString().
UserRolepublic final String userRoleAsString()
In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.
If the service returns an enum value that is not available in the current SDK version, userRole will
return UserRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
userRoleAsString().
UserRolepublic final Instant enabledDate()
The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.
public final Instant disabledDate()
The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
public final Instant mailboxProvisionedDate()
The date when the mailbox was created for the user.
public final Instant mailboxDeprovisionedDate()
The date when the mailbox was removed for the user.
public final String firstName()
First name of the user.
public final String lastName()
Last name of the user.
public final Boolean hiddenFromGlobalAddressList()
If enabled, the user is hidden from the global address list.
public final String initials()
Initials of the user.
public final String telephone()
User's contact number.
public final String street()
Street where the user is located.
public final String jobTitle()
Job title of the user.
public final String city()
City where the user is located.
public final String company()
Company of the user.
public final String zipCode()
Zip code of the user.
public final String department()
Department of the user.
public final String country()
Country where the user is located.
public final String office()
Office where the user is located.
public DescribeUserResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeUserResponse.Builder,DescribeUserResponse>toBuilder in class AwsResponsepublic static DescribeUserResponse.Builder builder()
public static Class<? extends DescribeUserResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.