@Stability(value=Stable) public static final class CfnCampaignProps.Builder extends Object implements software.amazon.jsii.Builder<CfnCampaignProps>
CfnCampaignProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnCampaignProps.Builder applicationId(String applicationId)
CfnCampaignProps.getApplicationId()applicationId - The unique identifier for the Amazon Pinpoint application that the campaign is associated with. This parameter is required.this@Stability(value=Stable) public CfnCampaignProps.Builder name(String name)
CfnCampaignProps.getName()name - The name of the campaign. This parameter is required.this@Stability(value=Stable) public CfnCampaignProps.Builder schedule(CfnCampaign.ScheduleProperty schedule)
CfnCampaignProps.getSchedule()schedule - The schedule settings for the campaign. This parameter is required.this@Stability(value=Stable) public CfnCampaignProps.Builder schedule(IResolvable schedule)
CfnCampaignProps.getSchedule()schedule - The schedule settings for the campaign. This parameter is required.this@Stability(value=Stable) public CfnCampaignProps.Builder segmentId(String segmentId)
CfnCampaignProps.getSegmentId()segmentId - The unique identifier for the segment to associate with the campaign. This parameter is required.this@Stability(value=Stable) public CfnCampaignProps.Builder additionalTreatments(IResolvable additionalTreatments)
CfnCampaignProps.getAdditionalTreatments()additionalTreatments - An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.this@Stability(value=Stable) public CfnCampaignProps.Builder additionalTreatments(List<? extends Object> additionalTreatments)
CfnCampaignProps.getAdditionalTreatments()additionalTreatments - An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.this@Stability(value=Stable) public CfnCampaignProps.Builder campaignHook(CfnCampaign.CampaignHookProperty campaignHook)
CfnCampaignProps.getCampaignHook()campaignHook - Specifies the Lambda function to use as a code hook for a campaign.this@Stability(value=Stable) public CfnCampaignProps.Builder campaignHook(IResolvable campaignHook)
CfnCampaignProps.getCampaignHook()campaignHook - Specifies the Lambda function to use as a code hook for a campaign.this@Stability(value=Stable) public CfnCampaignProps.Builder customDeliveryConfiguration(CfnCampaign.CustomDeliveryConfigurationProperty customDeliveryConfiguration)
CfnCampaignProps.getCustomDeliveryConfiguration()customDeliveryConfiguration - The delivery configuration settings for sending the treatment through a custom channel.
This object is required if the MessageConfiguration object for the treatment specifies a CustomMessage object.this@Stability(value=Stable) public CfnCampaignProps.Builder customDeliveryConfiguration(IResolvable customDeliveryConfiguration)
CfnCampaignProps.getCustomDeliveryConfiguration()customDeliveryConfiguration - The delivery configuration settings for sending the treatment through a custom channel.
This object is required if the MessageConfiguration object for the treatment specifies a CustomMessage object.this@Stability(value=Stable) public CfnCampaignProps.Builder description(String description)
CfnCampaignProps.getDescription()description - A custom description of the campaign.this@Stability(value=Stable) public CfnCampaignProps.Builder holdoutPercent(Number holdoutPercent)
CfnCampaignProps.getHoldoutPercent()holdoutPercent - The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.this@Stability(value=Stable) public CfnCampaignProps.Builder isPaused(Boolean isPaused)
CfnCampaignProps.getIsPaused()isPaused - Specifies whether to pause the campaign.
A paused campaign doesn't run unless you resume it by changing this value to false . If you restart a campaign, the campaign restarts from the beginning and not at the point you paused it.this@Stability(value=Stable) public CfnCampaignProps.Builder isPaused(IResolvable isPaused)
CfnCampaignProps.getIsPaused()isPaused - Specifies whether to pause the campaign.
A paused campaign doesn't run unless you resume it by changing this value to false . If you restart a campaign, the campaign restarts from the beginning and not at the point you paused it.this@Stability(value=Stable) public CfnCampaignProps.Builder limits(CfnCampaign.LimitsProperty limits)
CfnCampaignProps.getLimits()limits - The messaging limits for the campaign.this@Stability(value=Stable) public CfnCampaignProps.Builder limits(IResolvable limits)
CfnCampaignProps.getLimits()limits - The messaging limits for the campaign.this@Stability(value=Stable) public CfnCampaignProps.Builder messageConfiguration(CfnCampaign.MessageConfigurationProperty messageConfiguration)
CfnCampaignProps.getMessageConfiguration()messageConfiguration - The message configuration settings for the campaign.this@Stability(value=Stable) public CfnCampaignProps.Builder messageConfiguration(IResolvable messageConfiguration)
CfnCampaignProps.getMessageConfiguration()messageConfiguration - The message configuration settings for the campaign.this@Stability(value=Stable) public CfnCampaignProps.Builder priority(Number priority)
CfnCampaignProps.getPriority()priority - An integer between 1 and 5, inclusive, that represents the priority of the in-app message campaign, where 1 is the highest priority and 5 is the lowest.
If there are multiple messages scheduled to be displayed at the same time, the priority determines the order in which those messages are displayed.this@Stability(value=Stable) public CfnCampaignProps.Builder segmentVersion(Number segmentVersion)
CfnCampaignProps.getSegmentVersion()segmentVersion - The version of the segment to associate with the campaign.this@Stability(value=Stable) public CfnCampaignProps.Builder tags(Object tags)
CfnCampaignProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnCampaignProps.Builder templateConfiguration(CfnCampaign.TemplateConfigurationProperty templateConfiguration)
CfnCampaignProps.getTemplateConfiguration()templateConfiguration - The message template to use for the treatment.this@Stability(value=Stable) public CfnCampaignProps.Builder templateConfiguration(IResolvable templateConfiguration)
CfnCampaignProps.getTemplateConfiguration()templateConfiguration - The message template to use for the treatment.this@Stability(value=Stable) public CfnCampaignProps.Builder treatmentDescription(String treatmentDescription)
CfnCampaignProps.getTreatmentDescription()treatmentDescription - A custom description of the default treatment for the campaign.this@Stability(value=Stable) public CfnCampaignProps.Builder treatmentName(String treatmentName)
CfnCampaignProps.getTreatmentName()treatmentName - A custom name of the default treatment for the campaign, if the campaign has multiple treatments.
A treatment is a variation of a campaign that's used for A/B testing.this@Stability(value=Stable) public CfnCampaignProps build()
build in interface software.amazon.jsii.Builder<CfnCampaignProps>CfnCampaignPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.