public static interface AdminCreateUserConfigType.Builder extends CopyableBuilder<AdminCreateUserConfigType.Builder,AdminCreateUserConfigType>
Modifier and Type | Method and Description |
---|---|
AdminCreateUserConfigType.Builder |
allowAdminCreateUserOnly(Boolean allowAdminCreateUserOnly)
Set to
True if only the administrator is allowed to create user profiles. |
default AdminCreateUserConfigType.Builder |
inviteMessageTemplate(Consumer<MessageTemplateType.Builder> inviteMessageTemplate)
The message template to be used for the welcome message to new users.
|
AdminCreateUserConfigType.Builder |
inviteMessageTemplate(MessageTemplateType inviteMessageTemplate)
The message template to be used for the welcome message to new users.
|
AdminCreateUserConfigType.Builder |
unusedAccountValidityDays(Integer unusedAccountValidityDays)
The user account expiration limit, in days, after which the account is no longer usable.
|
copy
apply, build
AdminCreateUserConfigType.Builder allowAdminCreateUserOnly(Boolean allowAdminCreateUserOnly)
Set to True
if only the administrator is allowed to create user profiles. Set to
False
if users can sign themselves up via an app.
allowAdminCreateUserOnly
- Set to True
if only the administrator is allowed to create user profiles. Set to
False
if users can sign themselves up via an app.AdminCreateUserConfigType.Builder unusedAccountValidityDays(Integer unusedAccountValidityDays)
The user account expiration limit, in days, after which the account is no longer usable. To reset the account
after that time limit, you must call AdminCreateUser
again, specifying "RESEND"
for
the MessageAction
parameter. The default value for this parameter is 7.
unusedAccountValidityDays
- The user account expiration limit, in days, after which the account is no longer usable. To reset the
account after that time limit, you must call AdminCreateUser
again, specifying
"RESEND"
for the MessageAction
parameter. The default value for this
parameter is 7.AdminCreateUserConfigType.Builder inviteMessageTemplate(MessageTemplateType inviteMessageTemplate)
The message template to be used for the welcome message to new users.
inviteMessageTemplate
- The message template to be used for the welcome message to new users.default AdminCreateUserConfigType.Builder inviteMessageTemplate(Consumer<MessageTemplateType.Builder> inviteMessageTemplate)
The message template to be used for the welcome message to new users.
This is a convenience that creates an instance of theMessageTemplateType.Builder
avoiding the need
to create one manually via MessageTemplateType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to inviteMessageTemplate(MessageTemplateType)
.inviteMessageTemplate
- a consumer that will call methods on MessageTemplateType.Builder
inviteMessageTemplate(MessageTemplateType)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.