Class CfnUserPoolRegionalConfigurationAttachmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolRegionalConfigurationAttachmentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolRegionalConfigurationAttachmentProps>
- Enclosing interface:
CfnUserPoolRegionalConfigurationAttachmentProps
@Stability(Stable)
public static final class CfnUserPoolRegionalConfigurationAttachmentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolRegionalConfigurationAttachmentProps>
A builder for
CfnUserPoolRegionalConfigurationAttachmentProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.emailConfiguration(IResolvable emailConfiguration) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getEmailConfiguration()emailConfiguration(CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty emailConfiguration) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getEmailConfiguration()lambdaConfig(IResolvable lambdaConfig) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getLambdaConfig()Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getLambdaConfig()smsConfiguration(IResolvable smsConfiguration) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getSmsConfiguration()smsConfiguration(CfnUserPoolRegionalConfigurationAttachment.SmsConfigurationProperty smsConfiguration) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getSmsConfiguration()Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getStatus()userPoolId(String userPoolId) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getUserPoolId()userPoolTags(Map<String, String> userPoolTags) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getUserPoolTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
userPoolId
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachmentProps.Builder userPoolId(String userPoolId) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getUserPoolId()- Parameters:
userPoolId- the value to be set. This parameter is required.- Returns:
this
-
emailConfiguration
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachmentProps.Builder emailConfiguration(IResolvable emailConfiguration) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getEmailConfiguration()- Parameters:
emailConfiguration- the value to be set.- Returns:
this
-
emailConfiguration
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachmentProps.Builder emailConfiguration(CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty emailConfiguration) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getEmailConfiguration()- Parameters:
emailConfiguration- the value to be set.- Returns:
this
-
lambdaConfig
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachmentProps.Builder lambdaConfig(IResolvable lambdaConfig) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getLambdaConfig()- Parameters:
lambdaConfig- the value to be set.- Returns:
this
-
lambdaConfig
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachmentProps.Builder lambdaConfig(CfnUserPoolRegionalConfigurationAttachment.LambdaConfigProperty lambdaConfig) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getLambdaConfig()- Parameters:
lambdaConfig- the value to be set.- Returns:
this
-
smsConfiguration
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachmentProps.Builder smsConfiguration(IResolvable smsConfiguration) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getSmsConfiguration()- Parameters:
smsConfiguration- the value to be set.- Returns:
this
-
smsConfiguration
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachmentProps.Builder smsConfiguration(CfnUserPoolRegionalConfigurationAttachment.SmsConfigurationProperty smsConfiguration) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getSmsConfiguration()- Parameters:
smsConfiguration- the value to be set.- Returns:
this
-
status
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachmentProps.Builder status(String status) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getStatus()- Parameters:
status- The status of the replica. Set to ACTIVE or INACTIVE.- Returns:
this
-
userPoolTags
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachmentProps.Builder userPoolTags(Map<String, String> userPoolTags) Sets the value ofCfnUserPoolRegionalConfigurationAttachmentProps.getUserPoolTags()- Parameters:
userPoolTags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolRegionalConfigurationAttachmentProps>- Returns:
- a new instance of
CfnUserPoolRegionalConfigurationAttachmentProps - Throws:
NullPointerException- if any required attribute was not provided
-