public static interface WriteTreatmentResource.Builder extends SdkPojo, CopyableBuilder<WriteTreatmentResource.Builder,WriteTreatmentResource>
| Modifier and Type | Method and Description |
|---|---|
default WriteTreatmentResource.Builder |
messageConfiguration(Consumer<MessageConfiguration.Builder> messageConfiguration)
The message configuration settings for the treatment.
|
WriteTreatmentResource.Builder |
messageConfiguration(MessageConfiguration messageConfiguration)
The message configuration settings for the treatment.
|
default WriteTreatmentResource.Builder |
schedule(Consumer<Schedule.Builder> schedule)
The schedule settings for the treatment.
|
WriteTreatmentResource.Builder |
schedule(Schedule schedule)
The schedule settings for the treatment.
|
WriteTreatmentResource.Builder |
sizePercent(Integer sizePercent)
The allocated percentage of users (segment members) to send the treatment to.
|
default WriteTreatmentResource.Builder |
templateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration)
Sets the value of the TemplateConfiguration property for this object.
|
WriteTreatmentResource.Builder |
templateConfiguration(TemplateConfiguration templateConfiguration)
Sets the value of the TemplateConfiguration property for this object.
|
WriteTreatmentResource.Builder |
treatmentDescription(String treatmentDescription)
The custom description of the treatment.
|
WriteTreatmentResource.Builder |
treatmentName(String treatmentName)
The custom name of the treatment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWriteTreatmentResource.Builder messageConfiguration(MessageConfiguration messageConfiguration)
The message configuration settings for the treatment.
messageConfiguration - The message configuration settings for the treatment.default WriteTreatmentResource.Builder messageConfiguration(Consumer<MessageConfiguration.Builder> messageConfiguration)
The message configuration settings for the treatment.
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)WriteTreatmentResource.Builder schedule(Schedule schedule)
The schedule settings for the treatment.
schedule - The schedule settings for the treatment.default WriteTreatmentResource.Builder schedule(Consumer<Schedule.Builder> schedule)
The schedule settings for the treatment.
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)WriteTreatmentResource.Builder sizePercent(Integer sizePercent)
The allocated percentage of users (segment members) to send the treatment to.
sizePercent - The allocated percentage of users (segment members) to send the treatment to.WriteTreatmentResource.Builder templateConfiguration(TemplateConfiguration templateConfiguration)
templateConfiguration - The new value for the TemplateConfiguration property for this object.default WriteTreatmentResource.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)WriteTreatmentResource.Builder treatmentDescription(String treatmentDescription)
The custom description of the treatment.
treatmentDescription - The custom description of the treatment.WriteTreatmentResource.Builder treatmentName(String treatmentName)
The custom name of the treatment. A treatment is a variation of a campaign that's used for A/B testing of a campaign.
treatmentName - The custom name of the treatment. A treatment is a variation of a campaign that's used for A/B testing
of a campaign.Copyright © 2019. All rights reserved.