Class CfnCampaign.EmailChannelSubtypeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaignsv2.CfnCampaign.EmailChannelSubtypeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.EmailChannelSubtypeConfigProperty>
- Enclosing interface:
CfnCampaign.EmailChannelSubtypeConfigProperty
@Stability(Stable)
public static final class CfnCampaign.EmailChannelSubtypeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.EmailChannelSubtypeConfigProperty>
A builder for
CfnCampaign.EmailChannelSubtypeConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCampaign.EmailChannelSubtypeConfigProperty.getCapacity()defaultOutboundConfig(IResolvable defaultOutboundConfig) Sets the value ofCfnCampaign.EmailChannelSubtypeConfigProperty.getDefaultOutboundConfig()defaultOutboundConfig(CfnCampaign.EmailOutboundConfigProperty defaultOutboundConfig) Sets the value ofCfnCampaign.EmailChannelSubtypeConfigProperty.getDefaultOutboundConfig()outboundMode(IResolvable outboundMode) Sets the value ofCfnCampaign.EmailChannelSubtypeConfigProperty.getOutboundMode()outboundMode(CfnCampaign.EmailOutboundModeProperty outboundMode) Sets the value ofCfnCampaign.EmailChannelSubtypeConfigProperty.getOutboundMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultOutboundConfig
@Stability(Stable) public CfnCampaign.EmailChannelSubtypeConfigProperty.Builder defaultOutboundConfig(IResolvable defaultOutboundConfig) Sets the value ofCfnCampaign.EmailChannelSubtypeConfigProperty.getDefaultOutboundConfig()- Parameters:
defaultOutboundConfig- The default email outbound configuration of an outbound campaign. This parameter is required.- Returns:
this
-
defaultOutboundConfig
@Stability(Stable) public CfnCampaign.EmailChannelSubtypeConfigProperty.Builder defaultOutboundConfig(CfnCampaign.EmailOutboundConfigProperty defaultOutboundConfig) Sets the value ofCfnCampaign.EmailChannelSubtypeConfigProperty.getDefaultOutboundConfig()- Parameters:
defaultOutboundConfig- The default email outbound configuration of an outbound campaign. This parameter is required.- Returns:
this
-
outboundMode
@Stability(Stable) public CfnCampaign.EmailChannelSubtypeConfigProperty.Builder outboundMode(IResolvable outboundMode) Sets the value ofCfnCampaign.EmailChannelSubtypeConfigProperty.getOutboundMode()- Parameters:
outboundMode- The outbound mode for email of an outbound campaign. This parameter is required.- Returns:
this
-
outboundMode
@Stability(Stable) public CfnCampaign.EmailChannelSubtypeConfigProperty.Builder outboundMode(CfnCampaign.EmailOutboundModeProperty outboundMode) Sets the value ofCfnCampaign.EmailChannelSubtypeConfigProperty.getOutboundMode()- Parameters:
outboundMode- The outbound mode for email of an outbound campaign. This parameter is required.- Returns:
this
-
capacity
@Stability(Stable) public CfnCampaign.EmailChannelSubtypeConfigProperty.Builder capacity(Number capacity) Sets the value ofCfnCampaign.EmailChannelSubtypeConfigProperty.getCapacity()- Parameters:
capacity- The allocation of email capacity between multiple running outbound campaigns.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.EmailChannelSubtypeConfigProperty>- Returns:
- a new instance of
CfnCampaign.EmailChannelSubtypeConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-