Class CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty>
- Enclosing interface:
CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty
@Stability(Stable)
public static final class CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
subject
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty.Builder subject(String subject) - Parameters:
subject
- The email subject. This parameter is required.- Returns:
this
-
htmlBody
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty.Builder htmlBody(String htmlBody) - Parameters:
htmlBody
- The email HTML body.- Returns:
this
-
textBody
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty.Builder textBody(String textBody) - Parameters:
textBody
- The email text body.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty>
- Returns:
- a new instance of
CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-