public static interface WriteCampaignRequest.Builder extends CopyableBuilder<WriteCampaignRequest.Builder,WriteCampaignRequest>
| Modifier and Type | Method and Description |
|---|---|
WriteCampaignRequest.Builder |
additionalTreatments(Collection<WriteTreatmentResource> additionalTreatments)
Treatments that are defined in addition to the default treatment.
|
WriteCampaignRequest.Builder |
additionalTreatments(Consumer<WriteTreatmentResource.Builder>... additionalTreatments)
Treatments that are defined in addition to the default treatment.
|
WriteCampaignRequest.Builder |
additionalTreatments(WriteTreatmentResource... additionalTreatments)
Treatments that are defined in addition to the default treatment.
|
WriteCampaignRequest.Builder |
description(String description)
A description of the campaign.
|
WriteCampaignRequest.Builder |
holdoutPercent(Integer holdoutPercent)
The allocated percentage of end users who will not receive messages from this campaign.
|
WriteCampaignRequest.Builder |
isPaused(Boolean isPaused)
Indicates whether the campaign is paused.
|
WriteCampaignRequest.Builder |
limits(CampaignLimits limits)
The campaign limits settings.
|
default WriteCampaignRequest.Builder |
limits(Consumer<CampaignLimits.Builder> limits)
The campaign limits settings.
|
default WriteCampaignRequest.Builder |
messageConfiguration(Consumer<MessageConfiguration.Builder> messageConfiguration)
The message configuration settings.
|
WriteCampaignRequest.Builder |
messageConfiguration(MessageConfiguration messageConfiguration)
The message configuration settings.
|
WriteCampaignRequest.Builder |
name(String name)
The custom name of the campaign.
|
default WriteCampaignRequest.Builder |
schedule(Consumer<Schedule.Builder> schedule)
The campaign schedule.
|
WriteCampaignRequest.Builder |
schedule(Schedule schedule)
The campaign schedule.
|
WriteCampaignRequest.Builder |
segmentId(String segmentId)
The ID of the segment to which the campaign sends messages.
|
WriteCampaignRequest.Builder |
segmentVersion(Integer segmentVersion)
The version of the segment to which the campaign sends messages.
|
WriteCampaignRequest.Builder |
treatmentDescription(String treatmentDescription)
A custom description for the treatment.
|
WriteCampaignRequest.Builder |
treatmentName(String treatmentName)
The custom name of a variation of the campaign used for A/B testing.
|
copyapply, buildWriteCampaignRequest.Builder additionalTreatments(Collection<WriteTreatmentResource> additionalTreatments)
additionalTreatments - Treatments that are defined in addition to the default treatment.WriteCampaignRequest.Builder additionalTreatments(WriteTreatmentResource... additionalTreatments)
additionalTreatments - Treatments that are defined in addition to the default treatment.WriteCampaignRequest.Builder additionalTreatments(Consumer<WriteTreatmentResource.Builder>... additionalTreatments)
List.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)
description - A description of the campaign.WriteCampaignRequest.Builder holdoutPercent(Integer holdoutPercent)
holdoutPercent - The allocated percentage of end users who will not receive messages from this campaign.WriteCampaignRequest.Builder isPaused(Boolean isPaused)
isPaused - Indicates whether the campaign is paused. A paused campaign does not send messages unless you resume
it by setting IsPaused to false.WriteCampaignRequest.Builder limits(CampaignLimits limits)
limits - The campaign limits settings.default WriteCampaignRequest.Builder limits(Consumer<CampaignLimits.Builder> limits)
CampaignLimits.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)
messageConfiguration - The message configuration settings.default WriteCampaignRequest.Builder messageConfiguration(Consumer<MessageConfiguration.Builder> messageConfiguration)
MessageConfiguration.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)
name - The custom name of the campaign.WriteCampaignRequest.Builder schedule(Schedule schedule)
schedule - The campaign schedule.default WriteCampaignRequest.Builder schedule(Consumer<Schedule.Builder> schedule)
Schedule.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)
segmentId - The ID of the segment to which the campaign sends messages.WriteCampaignRequest.Builder segmentVersion(Integer segmentVersion)
segmentVersion - The version of the segment to which the campaign sends messages.WriteCampaignRequest.Builder treatmentDescription(String treatmentDescription)
treatmentDescription - A custom description for the treatment.WriteCampaignRequest.Builder treatmentName(String treatmentName)
treatmentName - The custom name of a variation of the campaign used for A/B testing.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.