Interface AdminCreateUserConfigType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AdminCreateUserConfigType.Builder,AdminCreateUserConfigType>,SdkBuilder<AdminCreateUserConfigType.Builder,AdminCreateUserConfigType>,SdkPojo
- Enclosing class:
- AdminCreateUserConfigType
public static interface AdminCreateUserConfigType.Builder extends SdkPojo, CopyableBuilder<AdminCreateUserConfigType.Builder,AdminCreateUserConfigType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AdminCreateUserConfigType.BuilderallowAdminCreateUserOnly(Boolean allowAdminCreateUserOnly)Set toTrueif only the administrator is allowed to create user profiles.default AdminCreateUserConfigType.BuilderinviteMessageTemplate(Consumer<MessageTemplateType.Builder> inviteMessageTemplate)The message template to be used for the welcome message to new users.AdminCreateUserConfigType.BuilderinviteMessageTemplate(MessageTemplateType inviteMessageTemplate)The message template to be used for the welcome message to new users.AdminCreateUserConfigType.BuilderunusedAccountValidityDays(Integer unusedAccountValidityDays)The user account expiration limit, in days, after which a new account that hasn't signed in is no longer usable.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
allowAdminCreateUserOnly
AdminCreateUserConfigType.Builder allowAdminCreateUserOnly(Boolean allowAdminCreateUserOnly)
Set to
Trueif only the administrator is allowed to create user profiles. Set toFalseif users can sign themselves up via an app.- Parameters:
allowAdminCreateUserOnly- Set toTrueif only the administrator is allowed to create user profiles. Set toFalseif users can sign themselves up via an app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unusedAccountValidityDays
AdminCreateUserConfigType.Builder unusedAccountValidityDays(Integer unusedAccountValidityDays)
The user account expiration limit, in days, after which a new account that hasn't signed in is no longer usable. To reset the account after that time limit, you must call
AdminCreateUseragain, specifying"RESEND"for theMessageActionparameter. The default value for this parameter is 7.If you set a value for
TemporaryPasswordValidityDaysinPasswordPolicy, that value will be used, andUnusedAccountValidityDayswill be no longer be an available parameter for that user pool.- Parameters:
unusedAccountValidityDays- The user account expiration limit, in days, after which a new account that hasn't signed in is no longer usable. To reset the account after that time limit, you must callAdminCreateUseragain, specifying"RESEND"for theMessageActionparameter. The default value for this parameter is 7.If you set a value for
TemporaryPasswordValidityDaysinPasswordPolicy, that value will be used, andUnusedAccountValidityDayswill be no longer be an available parameter for that user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inviteMessageTemplate
AdminCreateUserConfigType.Builder inviteMessageTemplate(MessageTemplateType inviteMessageTemplate)
The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages.
- Parameters:
inviteMessageTemplate- The message template to be used for the welcome message to new users.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 message template to be used for the welcome message to new users.
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:
inviteMessageTemplate(MessageTemplateType)
-
-