Class CfnUserPoolPropsMixin.AccountRecoverySettingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnUserPoolPropsMixin.AccountRecoverySettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolPropsMixin.AccountRecoverySettingProperty>
- Enclosing interface:
CfnUserPoolPropsMixin.AccountRecoverySettingProperty
@Stability(Stable)
public static final class CfnUserPoolPropsMixin.AccountRecoverySettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolPropsMixin.AccountRecoverySettingProperty>
A builder for
CfnUserPoolPropsMixin.AccountRecoverySettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.recoveryMechanisms(List<? extends Object> recoveryMechanisms) recoveryMechanisms(IResolvable recoveryMechanisms)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recoveryMechanisms
@Stability(Stable) public CfnUserPoolPropsMixin.AccountRecoverySettingProperty.Builder recoveryMechanisms(IResolvable recoveryMechanisms) - Parameters:
recoveryMechanisms- The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.- Returns:
this
-
recoveryMechanisms
@Stability(Stable) public CfnUserPoolPropsMixin.AccountRecoverySettingProperty.Builder recoveryMechanisms(List<? extends Object> recoveryMechanisms) - Parameters:
recoveryMechanisms- The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolPropsMixin.AccountRecoverySettingProperty>- Returns:
- a new instance of
CfnUserPoolPropsMixin.AccountRecoverySettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-