public class AdminCreateUserConfigType extends Object implements Serializable
The configuration for creating a new user profile.
| Constructor and Description |
|---|
AdminCreateUserConfigType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getAllowAdminCreateUserOnly()
Set to
True if only the administrator is allowed to create
user profiles. |
MessageTemplateType |
getInviteMessageTemplate()
The message template to be used for the welcome message to new users.
|
Integer |
getUnusedAccountValidityDays()
The user account expiration limit, in days, after which the account is no
longer usable.
|
int |
hashCode() |
Boolean |
isAllowAdminCreateUserOnly()
Set to
True if only the administrator is allowed to create
user profiles. |
void |
setAllowAdminCreateUserOnly(Boolean allowAdminCreateUserOnly)
Set to
True if only the administrator is allowed to create
user profiles. |
void |
setInviteMessageTemplate(MessageTemplateType inviteMessageTemplate)
The message template to be used for the welcome message to new users.
|
void |
setUnusedAccountValidityDays(Integer unusedAccountValidityDays)
The user account expiration limit, in days, after which the account is no
longer usable.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminCreateUserConfigType |
withAllowAdminCreateUserOnly(Boolean allowAdminCreateUserOnly)
Set to
True if only the administrator is allowed to create
user profiles. |
AdminCreateUserConfigType |
withInviteMessageTemplate(MessageTemplateType inviteMessageTemplate)
The message template to be used for the welcome message to new users.
|
AdminCreateUserConfigType |
withUnusedAccountValidityDays(Integer unusedAccountValidityDays)
The user account expiration limit, in days, after which the account is no
longer usable.
|
public Boolean isAllowAdminCreateUserOnly()
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.
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.
public Boolean getAllowAdminCreateUserOnly()
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.
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.
public void setAllowAdminCreateUserOnly(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.
public AdminCreateUserConfigType withAllowAdminCreateUserOnly(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.
Returns a reference to this object so that method calls can be chained together.
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.
public Integer getUnusedAccountValidityDays()
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.
If you set a value for TemporaryPasswordValidityDays in
PasswordPolicy, that value will be used and
UnusedAccountValidityDays will be deprecated for that user
pool.
Constraints:
Range: 0 - 365
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.
If you set a value for TemporaryPasswordValidityDays
in PasswordPolicy, that value will be used and
UnusedAccountValidityDays will be deprecated for
that user pool.
public void setUnusedAccountValidityDays(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.
If you set a value for TemporaryPasswordValidityDays in
PasswordPolicy, that value will be used and
UnusedAccountValidityDays will be deprecated for that user
pool.
Constraints:
Range: 0 - 365
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.
If you set a value for
TemporaryPasswordValidityDays in
PasswordPolicy, that value will be used and
UnusedAccountValidityDays will be deprecated for
that user pool.
public AdminCreateUserConfigType withUnusedAccountValidityDays(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.
If you set a value for TemporaryPasswordValidityDays in
PasswordPolicy, that value will be used and
UnusedAccountValidityDays will be deprecated for that user
pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 365
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.
If you set a value for
TemporaryPasswordValidityDays in
PasswordPolicy, that value will be used and
UnusedAccountValidityDays will be deprecated for
that user pool.
public MessageTemplateType getInviteMessageTemplate()
The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages.
The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages.
public void setInviteMessageTemplate(MessageTemplateType inviteMessageTemplate)
The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages.
inviteMessageTemplate - The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages.
public AdminCreateUserConfigType withInviteMessageTemplate(MessageTemplateType inviteMessageTemplate)
The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages.
Returns a reference to this object so that method calls can be chained together.
inviteMessageTemplate - The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.