@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 in the 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()
The number of days a temporary password is valid in the password policy.
|
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 in the policy that you have set. This value can't 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()
The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password.
When you set TemporaryPasswordValidityDays for a user pool, you can no longer set a value for the
legacy UnusedAccountValidityDays parameter in that user pool.
When you set TemporaryPasswordValidityDays for a user pool, you can no longer set a value
for the legacy UnusedAccountValidityDays parameter in 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 © 2022. All rights reserved.