Class CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty>
- Enclosing interface:
CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty
@Stability(Stable)
public static final class CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions(IResolvable actions) build()Builds the configured instance.eventFilter(List<String> eventFilter)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty.Builder actions(IResolvable actions) Sets the value ofCfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty.getActions()- Parameters:
actions- Settings for the actions that you want your user pool to take when Amazon Cognito detects compromised credentials. This parameter is required.- Returns:
this
-
actions
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty.Builder actions(CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsTypeProperty actions) Sets the value ofCfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty.getActions()- Parameters:
actions- Settings for the actions that you want your user pool to take when Amazon Cognito detects compromised credentials. This parameter is required.- Returns:
this
-
eventFilter
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty.Builder eventFilter(List<String> eventFilter) Sets the value ofCfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty.getEventFilter()- Parameters:
eventFilter- Settings for the sign-in activity where you want to configure compromised-credentials actions. Defaults to all events.- Returns:
this
-
build
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty>- Returns:
- a new instance of
CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty - Throws:
NullPointerException- if any required attribute was not provided
-