Struct aws_sdk_pinpoint::model::write_campaign_request::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for WriteCampaignRequest
Implementations
Appends an item to additional_treatments
.
To override the contents of this collection use set_additional_treatments
.
An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.
An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.
The delivery configuration settings for sending the campaign through a custom channel. This object is required if the MessageConfiguration object for the campaign specifies a CustomMessage object.
pub fn set_custom_delivery_configuration(
self,
input: Option<CustomDeliveryConfiguration>
) -> Self
pub fn set_custom_delivery_configuration(
self,
input: Option<CustomDeliveryConfiguration>
) -> Self
The delivery configuration settings for sending the campaign through a custom channel. This object is required if the MessageConfiguration object for the campaign specifies a CustomMessage object.
A custom description of the campaign.
A custom description of the campaign.
The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.
The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.
The settings for the AWS Lambda function to invoke as a code hook for the campaign. You can use this hook to customize the segment that's used by the campaign.
The settings for the AWS Lambda function to invoke as a code hook for the campaign. You can use this hook to customize the segment that's used by the campaign.
Specifies whether to pause the campaign. A paused campaign doesn't run unless you resume it by changing this value to false.
Specifies whether to pause the campaign. A paused campaign doesn't run unless you resume it by changing this value to false.
The messaging limits for the campaign.
The messaging limits for the campaign.
The message configuration settings for the campaign.
The message configuration settings for the campaign.
The schedule settings for the campaign.
The unique identifier for the segment to associate with the campaign.
The unique identifier for the segment to associate with the campaign.
The version of the segment to associate with the campaign.
The version of the segment to associate with the campaign.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A string-to-string map of key-value pairs that defines the tags to associate with the campaign. Each tag consists of a required tag key and an associated tag value.
A string-to-string map of key-value pairs that defines the tags to associate with the campaign. Each tag consists of a required tag key and an associated tag value.
The message template to use for the campaign.
The message template to use for the campaign.
A custom description of the default treatment for the campaign.
A custom description of the default treatment for the campaign.
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.
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.
Defines the priority of the campaign, used to decide the order of messages displayed to user if there are multiple messages scheduled to be displayed at the same moment.
Defines the priority of the campaign, used to decide the order of messages displayed to user if there are multiple messages scheduled to be displayed at the same moment.
Consumes the builder and constructs a WriteCampaignRequest
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more