@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdminCreateUserConfigType extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for creating a new user profile.
| Constructor and Description |
|---|
AdminCreateUserConfigType() |
| Modifier and Type | Method and Description |
|---|---|
AdminCreateUserConfigType |
clone() |
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 a new account that hasn't signed in is no longer usable.
|
int |
hashCode() |
Boolean |
isAllowAdminCreateUserOnly()
Set to
True if only the administrator is allowed to create user profiles. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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 a new account that hasn't signed in is no longer usable.
|
String |
toString()
Returns a string representation of this object.
|
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 a new account that hasn't signed in is no longer usable.
|
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 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.
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.
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 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.
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 setUnusedAccountValidityDays(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.
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 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.
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(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.
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 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 MessageTemplateType getInviteMessageTemplate()
The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages.
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.
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()public AdminCreateUserConfigType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.