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