@Generated(value="software.amazon.awssdk:codegen") public final class PasswordPolicyType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PasswordPolicyType.Builder,PasswordPolicyType>
The password policy type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PasswordPolicyType.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PasswordPolicyType.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
minimumLength()
The minimum length of the password policy that you have set.
|
Boolean |
requireLowercase()
In the password policy that you have set, refers to whether you have required users to use at least one lowercase
letter in their password.
|
Boolean |
requireNumbers()
In the password policy that you have set, refers to whether you have required users to use at least one number in
their password.
|
Boolean |
requireSymbols()
In the password policy that you have set, refers to whether you have required users to use at least one symbol in
their password.
|
Boolean |
requireUppercase()
In the password policy that you have set, refers to whether you have required users to use at least one uppercase
letter in their password.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PasswordPolicyType.Builder> |
serializableBuilderClass() |
Integer |
temporaryPasswordValidityDays()
In the password policy you have set, refers to the number of days a temporary password is valid.
|
PasswordPolicyType.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer minimumLength()
The minimum length of the password policy that you have set. Cannot be less than 6.
public final Boolean requireUppercase()
In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
public final Boolean requireLowercase()
In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
public final Boolean requireNumbers()
In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
public final Boolean requireSymbols()
In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
public final Integer temporaryPasswordValidityDays()
In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator.
When you set TemporaryPasswordValidityDays for a user pool, you will no longer be able to set the
deprecated UnusedAccountValidityDays value for that user pool.
When you set TemporaryPasswordValidityDays for a user pool, you will no longer be able to
set the deprecated UnusedAccountValidityDays value for that user pool.
public PasswordPolicyType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PasswordPolicyType.Builder,PasswordPolicyType>public static PasswordPolicyType.Builder builder()
public static Class<? extends PasswordPolicyType.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.