@Stability(value=Stable) public static final class CfnCampaign.WriteTreatmentResourceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCampaign.WriteTreatmentResourceProperty>
CfnCampaign.WriteTreatmentResourceProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnCampaign.WriteTreatmentResourceProperty.Builder customDeliveryConfiguration(CfnCampaign.CustomDeliveryConfigurationProperty customDeliveryConfiguration)
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 CfnCampaign.WriteTreatmentResourceProperty.Builder customDeliveryConfiguration(IResolvable customDeliveryConfiguration)
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 CfnCampaign.WriteTreatmentResourceProperty.Builder messageConfiguration(CfnCampaign.MessageConfigurationProperty messageConfiguration)
CfnCampaign.WriteTreatmentResourceProperty.getMessageConfiguration()messageConfiguration - The message configuration settings for the treatment.this@Stability(value=Stable) public CfnCampaign.WriteTreatmentResourceProperty.Builder messageConfiguration(IResolvable messageConfiguration)
CfnCampaign.WriteTreatmentResourceProperty.getMessageConfiguration()messageConfiguration - The message configuration settings for the treatment.this@Stability(value=Stable) public CfnCampaign.WriteTreatmentResourceProperty.Builder schedule(CfnCampaign.ScheduleProperty schedule)
CfnCampaign.WriteTreatmentResourceProperty.getSchedule()schedule - The schedule settings for the treatment.this@Stability(value=Stable) public CfnCampaign.WriteTreatmentResourceProperty.Builder schedule(IResolvable schedule)
CfnCampaign.WriteTreatmentResourceProperty.getSchedule()schedule - The schedule settings for the treatment.this@Stability(value=Stable) public CfnCampaign.WriteTreatmentResourceProperty.Builder sizePercent(Number sizePercent)
CfnCampaign.WriteTreatmentResourceProperty.getSizePercent()sizePercent - The allocated percentage of users (segment members) to send the treatment to.this@Stability(value=Stable) public CfnCampaign.WriteTreatmentResourceProperty.Builder templateConfiguration(CfnCampaign.TemplateConfigurationProperty templateConfiguration)
CfnCampaign.WriteTreatmentResourceProperty.getTemplateConfiguration()templateConfiguration - The message template to use for the treatment.this@Stability(value=Stable) public CfnCampaign.WriteTreatmentResourceProperty.Builder templateConfiguration(IResolvable templateConfiguration)
CfnCampaign.WriteTreatmentResourceProperty.getTemplateConfiguration()templateConfiguration - The message template to use for the treatment.this@Stability(value=Stable) public CfnCampaign.WriteTreatmentResourceProperty.Builder treatmentDescription(String treatmentDescription)
CfnCampaign.WriteTreatmentResourceProperty.getTreatmentDescription()treatmentDescription - A custom description of the treatment.this@Stability(value=Stable) public CfnCampaign.WriteTreatmentResourceProperty.Builder treatmentName(String treatmentName)
CfnCampaign.WriteTreatmentResourceProperty.getTreatmentName()treatmentName - A custom name for the treatment.this@Stability(value=Stable) public CfnCampaign.WriteTreatmentResourceProperty build()
build in interface software.amazon.jsii.Builder<CfnCampaign.WriteTreatmentResourceProperty>CfnCampaign.WriteTreatmentResourcePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.