Interface UserPoolPolicyType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UserPoolPolicyType.Builder,,UserPoolPolicyType> SdkBuilder<UserPoolPolicyType.Builder,,UserPoolPolicyType> SdkPojo
- Enclosing class:
- UserPoolPolicyType
@Mutable
@NotThreadSafe
public static interface UserPoolPolicyType.Builder
extends SdkPojo, CopyableBuilder<UserPoolPolicyType.Builder,UserPoolPolicyType>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UserPoolPolicyType.BuilderpasswordPolicy(Consumer<PasswordPolicyType.Builder> passwordPolicy) The password policy settings for a user pool, including complexity, history, and length requirements.passwordPolicy(PasswordPolicyType passwordPolicy) The password policy settings for a user pool, including complexity, history, and length requirements.default UserPoolPolicyType.BuildersignInPolicy(Consumer<SignInPolicyType.Builder> signInPolicy) The policy for allowed types of authentication in a user pool.signInPolicy(SignInPolicyType signInPolicy) The policy for allowed types of authentication in a user pool.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
passwordPolicy
The password policy settings for a user pool, including complexity, history, and length requirements.
- Parameters:
passwordPolicy- The password policy settings for a user pool, including complexity, history, and length requirements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passwordPolicy
default UserPoolPolicyType.Builder passwordPolicy(Consumer<PasswordPolicyType.Builder> passwordPolicy) The password policy settings for a user pool, including complexity, history, and length requirements.
This is a convenience method that creates an instance of thePasswordPolicyType.Builderavoiding the need to create one manually viaPasswordPolicyType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topasswordPolicy(PasswordPolicyType).- Parameters:
passwordPolicy- a consumer that will call methods onPasswordPolicyType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signInPolicy
The policy for allowed types of authentication in a user pool.
- Parameters:
signInPolicy- The policy for allowed types of authentication in a user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signInPolicy
The policy for allowed types of authentication in a user pool.
This is a convenience method that creates an instance of theSignInPolicyType.Builderavoiding the need to create one manually viaSignInPolicyType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosignInPolicy(SignInPolicyType).- Parameters:
signInPolicy- a consumer that will call methods onSignInPolicyType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-