Class UserPoolPolicyType
- java.lang.Object
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.UserPoolPolicyType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UserPoolPolicyType.Builder,UserPoolPolicyType>
@Generated("software.amazon.awssdk:codegen") public final class UserPoolPolicyType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserPoolPolicyType.Builder,UserPoolPolicyType>
A list of user pool policies. Contains the policy that sets password-complexity requirements.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool, and a response parameter of DescribeUserPool.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUserPoolPolicyType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserPoolPolicyType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PasswordPolicyTypepasswordPolicy()The password policy settings for a user pool, including complexity, history, and length requirements.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UserPoolPolicyType.Builder>serializableBuilderClass()SignInPolicyTypesignInPolicy()The policy for allowed types of authentication in a user pool.UserPoolPolicyType.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
passwordPolicy
public final PasswordPolicyType passwordPolicy()
The password policy settings for a user pool, including complexity, history, and length requirements.
- Returns:
- The password policy settings for a user pool, including complexity, history, and length requirements.
-
signInPolicy
public final SignInPolicyType signInPolicy()
The policy for allowed types of authentication in a user pool.
- Returns:
- The policy for allowed types of authentication in a user pool.
-
toBuilder
public UserPoolPolicyType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UserPoolPolicyType.Builder,UserPoolPolicyType>
-
builder
public static UserPoolPolicyType.Builder builder()
-
serializableBuilderClass
public static Class<? extends UserPoolPolicyType.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-