@Generated(value="software.amazon.awssdk:codegen") public final class CreateUserRequest extends AppStreamRequest implements ToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateUserRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationType |
authenticationType()
The authentication type for the user.
|
String |
authenticationTypeAsString()
The authentication type for the user.
|
static CreateUserRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
firstName()
The first name, or given name, of the user.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastName()
The last name, or surname, of the user.
|
MessageAction |
messageAction()
The action to take for the welcome email that is sent to a user after the user is created in the user pool.
|
String |
messageActionAsString()
The action to take for the welcome email that is sent to a user after the user is created in the user pool.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateUserRequest.Builder> |
serializableBuilderClass() |
CreateUserRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The email address of the user.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String userName()
The email address of the user.
Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
public final MessageAction messageAction()
The action to take for the welcome email that is sent to a user after the user is created in the user pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or last name of the user. If the value is null, the email is sent.
The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
If the service returns an enum value that is not available in the current SDK version, messageAction
will return MessageAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
messageActionAsString().
The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
MessageActionpublic final String messageActionAsString()
The action to take for the welcome email that is sent to a user after the user is created in the user pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or last name of the user. If the value is null, the email is sent.
The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
If the service returns an enum value that is not available in the current SDK version, messageAction
will return MessageAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
messageActionAsString().
The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
MessageActionpublic final String firstName()
The first name, or given name, of the user.
public final String lastName()
The last name, or surname, of the user.
public final AuthenticationType authenticationType()
The authentication type for the user. You must specify USERPOOL.
If the service returns an enum value that is not available in the current SDK version,
authenticationType will return AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from authenticationTypeAsString().
AuthenticationTypepublic final String authenticationTypeAsString()
The authentication type for the user. You must specify USERPOOL.
If the service returns an enum value that is not available in the current SDK version,
authenticationType will return AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from authenticationTypeAsString().
AuthenticationTypepublic CreateUserRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>toBuilder in class AppStreamRequestpublic static CreateUserRequest.Builder builder()
public static Class<? extends CreateUserRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2023. All rights reserved.