Interface AdminCreateUserConfigType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AdminCreateUserConfigType.Builder,,AdminCreateUserConfigType> SdkBuilder<AdminCreateUserConfigType.Builder,,AdminCreateUserConfigType> SdkPojo
- Enclosing class:
- AdminCreateUserConfigType
-
Method Summary
Modifier and TypeMethodDescriptionallowAdminCreateUserOnly(Boolean allowAdminCreateUserOnly) The setting for allowing self-service sign-up.inviteMessageTemplate(Consumer<MessageTemplateType.Builder> inviteMessageTemplate) The template for the welcome message to new users.inviteMessageTemplate(MessageTemplateType inviteMessageTemplate) The template for the welcome message to new users.unusedAccountValidityDays(Integer unusedAccountValidityDays) This parameter is no longer in use.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
allowAdminCreateUserOnly
The setting for allowing self-service sign-up. When
true, only administrators can create new user profiles. Whenfalse, users can register themselves and create a new user profile with theSignUpoperation.- Parameters:
allowAdminCreateUserOnly- The setting for allowing self-service sign-up. Whentrue, only administrators can create new user profiles. Whenfalse, users can register themselves and create a new user profile with theSignUpoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unusedAccountValidityDays
This parameter is no longer in use.
The password expiration limit in days for administrator-created users. When this time expires, the user can't sign in with their temporary password. To reset the account after that time limit, you must call
AdminCreateUseragain, specifyingRESENDfor theMessageActionparameter.The default value for this parameter is 7.
- Parameters:
unusedAccountValidityDays- This parameter is no longer in use.The password expiration limit in days for administrator-created users. When this time expires, the user can't sign in with their temporary password. To reset the account after that time limit, you must call
AdminCreateUseragain, specifyingRESENDfor theMessageActionparameter.The default value for this parameter is 7.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inviteMessageTemplate
The template for the welcome message to new users. This template must include the
{####}temporary password placeholder if you are creating users with passwords. If your users don't have passwords, you can omit the placeholder.See also Customizing User Invitation Messages.
- Parameters:
inviteMessageTemplate- The template for the welcome message to new users. This template must include the{####}temporary password placeholder if you are creating users with passwords. If your users don't have passwords, you can omit the placeholder.See also Customizing User Invitation Messages.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inviteMessageTemplate
default AdminCreateUserConfigType.Builder inviteMessageTemplate(Consumer<MessageTemplateType.Builder> inviteMessageTemplate) The template for the welcome message to new users. This template must include the
{####}temporary password placeholder if you are creating users with passwords. If your users don't have passwords, you can omit the placeholder.See also Customizing User Invitation Messages.
This is a convenience method that creates an instance of theMessageTemplateType.Builderavoiding the need to create one manually viaMessageTemplateType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinviteMessageTemplate(MessageTemplateType).- Parameters:
inviteMessageTemplate- a consumer that will call methods onMessageTemplateType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-