Class CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsTypeProperty>
- Enclosing interface:
CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsTypeProperty
@Stability(Stable)
public static final class CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsTypeProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.eventAction
(String eventAction)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventAction
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsTypeProperty.Builder eventAction(String eventAction) Sets the value ofCfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsTypeProperty.getEventAction()
- Parameters:
eventAction
- The action that Amazon Cognito takes when it detects compromised credentials. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsTypeProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsTypeProperty>
- Returns:
- a new instance of
CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-