Class CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty>
- Enclosing interface:
CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty
@Stability(Stable)
public static final class CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configurationSet(String configurationSet) emailSendingAccount(String emailSendingAccount) replyToEmailAddress(String replyToEmailAddress)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurationSet
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty.Builder configurationSet(String configurationSet) Sets the value ofCfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty.getConfigurationSet()- Parameters:
configurationSet- the value to be set.- Returns:
this
-
emailSendingAccount
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty.Builder emailSendingAccount(String emailSendingAccount) Sets the value ofCfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty.getEmailSendingAccount()- Parameters:
emailSendingAccount- the value to be set.- Returns:
this
-
from
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty.Builder from(String from) - Parameters:
from- the value to be set.- Returns:
this
-
replyToEmailAddress
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty.Builder replyToEmailAddress(String replyToEmailAddress) Sets the value ofCfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty.getReplyToEmailAddress()- Parameters:
replyToEmailAddress- the value to be set.- Returns:
this
-
sourceArn
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty.Builder sourceArn(String sourceArn) Sets the value ofCfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty.getSourceArn()- Parameters:
sourceArn- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty>- Returns:
- a new instance of
CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-