Class CfnCampaignPropsMixin.SmsOutboundConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connectcampaignsv2.CfnCampaignPropsMixin.SmsOutboundConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.SmsOutboundConfigProperty>
- Enclosing interface:
CfnCampaignPropsMixin.SmsOutboundConfigProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.SmsOutboundConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.SmsOutboundConfigProperty>
A builder for
CfnCampaignPropsMixin.SmsOutboundConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectSourcePhoneNumberArn(String connectSourcePhoneNumberArn) wisdomTemplateArn(String wisdomTemplateArn) Sets the value ofCfnCampaignPropsMixin.SmsOutboundConfigProperty.getWisdomTemplateArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectSourcePhoneNumberArn
@Stability(Stable) public CfnCampaignPropsMixin.SmsOutboundConfigProperty.Builder connectSourcePhoneNumberArn(String connectSourcePhoneNumberArn) - Parameters:
connectSourcePhoneNumberArn- The Amazon Resource Name (ARN) of the Amazon Connect source SMS phone number.- Returns:
this
-
wisdomTemplateArn
@Stability(Stable) public CfnCampaignPropsMixin.SmsOutboundConfigProperty.Builder wisdomTemplateArn(String wisdomTemplateArn) Sets the value ofCfnCampaignPropsMixin.SmsOutboundConfigProperty.getWisdomTemplateArn()- Parameters:
wisdomTemplateArn- The Amazon Resource Name (ARN) of the Amazon Q in Connect template.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.SmsOutboundConfigProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.SmsOutboundConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-