Class CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty>
- Enclosing interface:
- CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty
@Stability(Stable)
public static final class CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactions
(IResolvable actions) build()
Builds the configured instance.notifyConfiguration
(IResolvable notifyConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Builder actions(IResolvable actions) Sets the value ofCfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.getActions()
- Parameters:
actions
- Account takeover risk configuration actions. This parameter is required.- Returns:
this
-
actions
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Builder actions(CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty actions) Sets the value ofCfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.getActions()
- Parameters:
actions
- Account takeover risk configuration actions. This parameter is required.- Returns:
this
-
notifyConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Builder notifyConfiguration(IResolvable notifyConfiguration) Sets the value ofCfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.getNotifyConfiguration()
- Parameters:
notifyConfiguration
- The notify configuration used to construct email notifications.- Returns:
this
-
notifyConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Builder notifyConfiguration(CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty notifyConfiguration) Sets the value ofCfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.getNotifyConfiguration()
- Parameters:
notifyConfiguration
- The notify configuration used to construct email notifications.- Returns:
this
-
build
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty>
- Returns:
- a new instance of
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-