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