@Generated(value="software.amazon.awssdk:codegen") public final class CreateUserRequest extends WorkMailRequest implements ToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateUserRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateUserRequest.Builder |
builder() |
String |
displayName()
The display name for the new user.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name for the new user.
|
String |
organizationId()
The identifier of the organization for which the user is created.
|
String |
password()
The password for the new user.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateUserRequest.Builder> |
serializableBuilderClass() |
CreateUserRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String organizationId()
The identifier of the organization for which the user is created.
public String name()
The name for the new user. WorkMail directory user names have a maximum length of 64. All others have a maximum length of 20.
public String displayName()
The display name for the new user.
public String password()
The password for the new user.
public CreateUserRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>toBuilder in class WorkMailRequestpublic static CreateUserRequest.Builder builder()
public static Class<? extends CreateUserRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.