Class CfnCampaign.SourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaignsv2.CfnCampaign.SourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.SourceProperty>
- Enclosing interface:
CfnCampaign.SourceProperty
@Stability(Stable)
public static final class CfnCampaign.SourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.SourceProperty>
A builder for
CfnCampaign.SourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customerProfilesSegmentArn(String customerProfilesSegmentArn) Sets the value ofCfnCampaign.SourceProperty.getCustomerProfilesSegmentArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customerProfilesSegmentArn
@Stability(Stable) public CfnCampaign.SourceProperty.Builder customerProfilesSegmentArn(String customerProfilesSegmentArn) Sets the value ofCfnCampaign.SourceProperty.getCustomerProfilesSegmentArn()- Parameters:
customerProfilesSegmentArn- Arn. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.SourceProperty>- Returns:
- a new instance of
CfnCampaign.SourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-