Class CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty>
- Enclosing interface:
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty
@Stability(Stable)
public static final class CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.highAction
(IResolvable highAction) lowAction
(IResolvable lowAction) mediumAction
(IResolvable mediumAction)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
highAction
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.Builder highAction(IResolvable highAction) Sets the value ofCfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.getHighAction()
- Parameters:
highAction
- Action to take for a high risk.- Returns:
this
-
highAction
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.Builder highAction(CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty highAction) Sets the value ofCfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.getHighAction()
- Parameters:
highAction
- Action to take for a high risk.- Returns:
this
-
lowAction
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.Builder lowAction(IResolvable lowAction) Sets the value ofCfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.getLowAction()
- Parameters:
lowAction
- Action to take for a low risk.- Returns:
this
-
lowAction
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.Builder lowAction(CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty lowAction) Sets the value ofCfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.getLowAction()
- Parameters:
lowAction
- Action to take for a low risk.- Returns:
this
-
mediumAction
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.Builder mediumAction(IResolvable mediumAction) Sets the value ofCfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.getMediumAction()
- Parameters:
mediumAction
- Action to take for a medium risk.- Returns:
this
-
mediumAction
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.Builder mediumAction(CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty mediumAction) Sets the value ofCfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty.getMediumAction()
- Parameters:
mediumAction
- Action to take for a medium risk.- Returns:
this
-
build
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty>
- Returns:
- a new instance of
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-