public static interface WriteCampaignRequest.Builder extends SdkPojo, CopyableBuilder<WriteCampaignRequest.Builder,WriteCampaignRequest>
| Modifier and Type | Method and Description |
|---|---|
WriteCampaignRequest.Builder |
additionalTreatments(Collection<WriteTreatmentResource> additionalTreatments)
An array of requests that defines additional treatments for the campaign, in addition to the default
treatment for the campaign.
|
WriteCampaignRequest.Builder |
additionalTreatments(Consumer<WriteTreatmentResource.Builder>... additionalTreatments)
An array of requests that defines additional treatments for the campaign, in addition to the default
treatment for the campaign.
|
WriteCampaignRequest.Builder |
additionalTreatments(WriteTreatmentResource... additionalTreatments)
An array of requests that defines additional treatments for the campaign, in addition to the default
treatment for the campaign.
|
WriteCampaignRequest.Builder |
description(String description)
The custom description of the campaign.
|
WriteCampaignRequest.Builder |
holdoutPercent(Integer holdoutPercent)
The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.
|
WriteCampaignRequest.Builder |
hook(CampaignHook hook)
The settings for the AWS Lambda function to use as a code hook for the campaign.
|
default WriteCampaignRequest.Builder |
hook(Consumer<CampaignHook.Builder> hook)
The settings for the AWS Lambda function to use as a code hook for the campaign.
|
WriteCampaignRequest.Builder |
isPaused(Boolean isPaused)
Specifies whether to pause the campaign.
|
WriteCampaignRequest.Builder |
limits(CampaignLimits limits)
The messaging limits for the campaign.
|
default WriteCampaignRequest.Builder |
limits(Consumer<CampaignLimits.Builder> limits)
The messaging limits for the campaign.
|
default WriteCampaignRequest.Builder |
messageConfiguration(Consumer<MessageConfiguration.Builder> messageConfiguration)
The message configuration settings for the campaign.
|
WriteCampaignRequest.Builder |
messageConfiguration(MessageConfiguration messageConfiguration)
The message configuration settings for the campaign.
|
WriteCampaignRequest.Builder |
name(String name)
The custom name of the campaign.
|
default WriteCampaignRequest.Builder |
schedule(Consumer<Schedule.Builder> schedule)
The schedule settings for the campaign.
|
WriteCampaignRequest.Builder |
schedule(Schedule schedule)
The schedule settings for the campaign.
|
WriteCampaignRequest.Builder |
segmentId(String segmentId)
The unique identifier for the segment to associate with the campaign.
|
WriteCampaignRequest.Builder |
segmentVersion(Integer segmentVersion)
The version of the segment to associate with the campaign.
|
WriteCampaignRequest.Builder |
tags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with the campaign.
|
default WriteCampaignRequest.Builder |
templateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration)
Sets the value of the TemplateConfiguration property for this object.
|
WriteCampaignRequest.Builder |
templateConfiguration(TemplateConfiguration templateConfiguration)
Sets the value of the TemplateConfiguration property for this object.
|
WriteCampaignRequest.Builder |
treatmentDescription(String treatmentDescription)
The custom description of a variation of the campaign to use for A/B testing.
|
WriteCampaignRequest.Builder |
treatmentName(String treatmentName)
The custom name of a variation of the campaign to use for A/B testing.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWriteCampaignRequest.Builder additionalTreatments(Collection<WriteTreatmentResource> additionalTreatments)
An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.
additionalTreatments - An array of requests that defines additional treatments for the campaign, in addition to the default
treatment for the campaign.WriteCampaignRequest.Builder additionalTreatments(WriteTreatmentResource... additionalTreatments)
An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.
additionalTreatments - An array of requests that defines additional treatments for the campaign, in addition to the default
treatment for the campaign.WriteCampaignRequest.Builder additionalTreatments(Consumer<WriteTreatmentResource.Builder>... additionalTreatments)
An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.
This is a convenience that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #additionalTreatments(List) .additionalTreatments - a consumer that will call methods on List.Builder #additionalTreatments(List) WriteCampaignRequest.Builder description(String description)
The custom description of the campaign.
description - The custom description of the campaign.WriteCampaignRequest.Builder holdoutPercent(Integer holdoutPercent)
The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.
holdoutPercent - The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.WriteCampaignRequest.Builder hook(CampaignHook hook)
The settings for the AWS Lambda function to use as a code hook for the campaign.
hook - The settings for the AWS Lambda function to use as a code hook for the campaign.default WriteCampaignRequest.Builder hook(Consumer<CampaignHook.Builder> hook)
The settings for the AWS Lambda function to use as a code hook for the campaign.
This is a convenience that creates an instance of theCampaignHook.Builder avoiding the need to
create one manually via CampaignHook.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to hook(CampaignHook).hook - a consumer that will call methods on CampaignHook.Builderhook(CampaignHook)WriteCampaignRequest.Builder isPaused(Boolean isPaused)
Specifies whether to pause the campaign. A paused campaign doesn't run unless you resume it by setting this value to false.
isPaused - Specifies whether to pause the campaign. A paused campaign doesn't run unless you resume it by setting
this value to false.WriteCampaignRequest.Builder limits(CampaignLimits limits)
The messaging limits for the campaign.
limits - The messaging limits for the campaign.default WriteCampaignRequest.Builder limits(Consumer<CampaignLimits.Builder> limits)
The messaging limits for the campaign.
This is a convenience that creates an instance of theCampaignLimits.Builder avoiding the need to
create one manually via CampaignLimits.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to limits(CampaignLimits).limits - a consumer that will call methods on CampaignLimits.Builderlimits(CampaignLimits)WriteCampaignRequest.Builder messageConfiguration(MessageConfiguration messageConfiguration)
The message configuration settings for the campaign.
messageConfiguration - The message configuration settings for the campaign.default WriteCampaignRequest.Builder messageConfiguration(Consumer<MessageConfiguration.Builder> messageConfiguration)
The message configuration settings for the campaign.
This is a convenience that creates an instance of theMessageConfiguration.Builder avoiding the need
to create one manually via MessageConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to messageConfiguration(MessageConfiguration).messageConfiguration - a consumer that will call methods on MessageConfiguration.BuildermessageConfiguration(MessageConfiguration)WriteCampaignRequest.Builder name(String name)
The custom name of the campaign.
name - The custom name of the campaign.WriteCampaignRequest.Builder schedule(Schedule schedule)
The schedule settings for the campaign.
schedule - The schedule settings for the campaign.default WriteCampaignRequest.Builder schedule(Consumer<Schedule.Builder> schedule)
The schedule settings for the campaign.
This is a convenience that creates an instance of theSchedule.Builder avoiding the need to create
one manually via Schedule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to schedule(Schedule).schedule - a consumer that will call methods on Schedule.Builderschedule(Schedule)WriteCampaignRequest.Builder segmentId(String segmentId)
The unique identifier for the segment to associate with the campaign.
segmentId - The unique identifier for the segment to associate with the campaign.WriteCampaignRequest.Builder segmentVersion(Integer segmentVersion)
The version of the segment to associate with the campaign.
segmentVersion - The version of the segment to associate with the campaign.WriteCampaignRequest.Builder tags(Map<String,String> 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.
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.WriteCampaignRequest.Builder templateConfiguration(TemplateConfiguration templateConfiguration)
templateConfiguration - The new value for the TemplateConfiguration property for this object.default WriteCampaignRequest.Builder templateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration)
TemplateConfiguration.Builder avoiding the need
to create one manually via TemplateConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to templateConfiguration(TemplateConfiguration).templateConfiguration - a consumer that will call methods on TemplateConfiguration.BuildertemplateConfiguration(TemplateConfiguration)WriteCampaignRequest.Builder treatmentDescription(String treatmentDescription)
The custom description of a variation of the campaign to use for A/B testing.
treatmentDescription - The custom description of a variation of the campaign to use for A/B testing.WriteCampaignRequest.Builder treatmentName(String treatmentName)
The custom name of a variation of the campaign to use for A/B testing.
treatmentName - The custom name of a variation of the campaign to use for A/B testing.Copyright © 2019. All rights reserved.