public class AdminCreateUserConfigType
extends java.lang.Object
implements java.io.Serializable
The configuration for creating a new user profile.
| Constructor and Description |
|---|
AdminCreateUserConfigType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.lang.Integer |
getUnusedAccountValidityDays()
The user account expiration limit, in days, after which a new account
that hasn't signed in is no longer usable.
|
int |
hashCode() |
java.lang.Boolean |
isAllowAdminCreateUserOnly()
Set to
True if only the administrator is allowed to create
user profiles. |
void |
setAllowAdminCreateUserOnly(java.lang.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(java.lang.Integer unusedAccountValidityDays)
The user account expiration limit, in days, after which a new account
that hasn't signed in is no longer usable.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminCreateUserConfigType |
withAllowAdminCreateUserOnly(java.lang.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(java.lang.Integer unusedAccountValidityDays)
The user account expiration limit, in days, after which a new account
that hasn't signed in is no longer usable.
|
public java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.Integer getUnusedAccountValidityDays()
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 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 no longer be an available
parameter for that user pool.
Constraints:
Range: 0 - 365
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
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 no longer be an
available parameter for that user pool.
public void setUnusedAccountValidityDays(java.lang.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 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 no longer be an available
parameter for that user pool.
Constraints:
Range: 0 - 365
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
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 no longer be an
available parameter for that user pool.
public AdminCreateUserConfigType withUnusedAccountValidityDays(java.lang.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 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 no longer be an available
parameter 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 a new
account that hasn't signed in 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 no longer be an
available parameter 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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object