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
Constructors -
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- A list of account-takeover actions for each level of risk that Amazon Cognito might assess with threat protection. 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- A list of account-takeover actions for each level of risk that Amazon Cognito might assess with threat protection. 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 settings for composing and sending an email message when threat protection assesses a risk level with adaptive authentication. When you choose to notify users inAccountTakeoverRiskConfiguration, Amazon Cognito sends an email message using the method and template that you set with this data type.- Returns:
this
-
notifyConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Builder notifyConfiguration(CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty notifyConfiguration) Sets the value ofCfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.getNotifyConfiguration()- Parameters:
notifyConfiguration- The settings for composing and sending an email message when threat protection assesses a risk level with adaptive authentication. When you choose to notify users inAccountTakeoverRiskConfiguration, Amazon Cognito sends an email message using the method and template that you set with this data type.- Returns:
this
-
build
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty>- Returns:
- a new instance of
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty - Throws:
NullPointerException- if any required attribute was not provided
-