Class CfnUserPoolPropsMixin.SignInPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnUserPoolPropsMixin.SignInPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolPropsMixin.SignInPolicyProperty>
- Enclosing interface:
CfnUserPoolPropsMixin.SignInPolicyProperty
@Stability(Stable)
public static final class CfnUserPoolPropsMixin.SignInPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolPropsMixin.SignInPolicyProperty>
A builder for
CfnUserPoolPropsMixin.SignInPolicyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedFirstAuthFactors(List<String> allowedFirstAuthFactors) Sets the value ofCfnUserPoolPropsMixin.SignInPolicyProperty.getAllowedFirstAuthFactors()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedFirstAuthFactors
@Stability(Stable) public CfnUserPoolPropsMixin.SignInPolicyProperty.Builder allowedFirstAuthFactors(List<String> allowedFirstAuthFactors) Sets the value ofCfnUserPoolPropsMixin.SignInPolicyProperty.getAllowedFirstAuthFactors()- Parameters:
allowedFirstAuthFactors- The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.Supports values of
EMAIL_OTP,SMS_OTP,WEB_AUTHNandPASSWORD,- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolPropsMixin.SignInPolicyProperty>- Returns:
- a new instance of
CfnUserPoolPropsMixin.SignInPolicyProperty - Throws:
NullPointerException- if any required attribute was not provided
-