Class AdminCreateUserConfigType
- java.lang.Object
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.AdminCreateUserConfigType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AdminCreateUserConfigType.Builder,AdminCreateUserConfigType>
@Generated("software.amazon.awssdk:codegen") public final class AdminCreateUserConfigType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AdminCreateUserConfigType.Builder,AdminCreateUserConfigType>
The configuration for creating a new user profile.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAdminCreateUserConfigType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanallowAdminCreateUserOnly()Set toTrueif only the administrator is allowed to create user profiles.static AdminCreateUserConfigType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MessageTemplateTypeinviteMessageTemplate()The message template to be used for the welcome message to new users.List<SdkField<?>>sdkFields()static Class<? extends AdminCreateUserConfigType.Builder>serializableBuilderClass()AdminCreateUserConfigType.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegerunusedAccountValidityDays()The user account expiration limit, in days, after which a new account that hasn't signed in is no longer usable.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
allowAdminCreateUserOnly
public final Boolean allowAdminCreateUserOnly()
Set to
Trueif only the administrator is allowed to create user profiles. Set toFalseif users can sign themselves up via an app.- Returns:
- Set to
Trueif only the administrator is allowed to create user profiles. Set toFalseif users can sign themselves up via an app.
-
unusedAccountValidityDays
public final 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.- Returns:
- 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.
-
inviteMessageTemplate
public final MessageTemplateType inviteMessageTemplate()
The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages.
- Returns:
- The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages.
-
toBuilder
public AdminCreateUserConfigType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AdminCreateUserConfigType.Builder,AdminCreateUserConfigType>
-
builder
public static AdminCreateUserConfigType.Builder builder()
-
serializableBuilderClass
public static Class<? extends AdminCreateUserConfigType.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-