Class CfnUserPool.AccountRecoverySettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPool.AccountRecoverySettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPool.AccountRecoverySettingProperty>
- Enclosing interface:
CfnUserPool.AccountRecoverySettingProperty
@Stability(Stable)
public static final class CfnUserPool.AccountRecoverySettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPool.AccountRecoverySettingProperty>
A builder for
CfnUserPool.AccountRecoverySettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.recoveryMechanisms(List<? extends Object> recoveryMechanisms) Sets the value ofCfnUserPool.AccountRecoverySettingProperty.getRecoveryMechanisms()recoveryMechanisms(IResolvable recoveryMechanisms) Sets the value ofCfnUserPool.AccountRecoverySettingProperty.getRecoveryMechanisms()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recoveryMechanisms
@Stability(Stable) public CfnUserPool.AccountRecoverySettingProperty.Builder recoveryMechanisms(IResolvable recoveryMechanisms) Sets the value ofCfnUserPool.AccountRecoverySettingProperty.getRecoveryMechanisms()- 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 CfnUserPool.AccountRecoverySettingProperty.Builder recoveryMechanisms(List<? extends Object> recoveryMechanisms) Sets the value ofCfnUserPool.AccountRecoverySettingProperty.getRecoveryMechanisms()- 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<CfnUserPool.AccountRecoverySettingProperty>- Returns:
- a new instance of
CfnUserPool.AccountRecoverySettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-