public static interface WriteTreatmentResource.Builder extends SdkPojo, CopyableBuilder<WriteTreatmentResource.Builder,WriteTreatmentResource>
| Modifier and Type | Method and Description |
|---|---|
default WriteTreatmentResource.Builder |
customDeliveryConfiguration(Consumer<CustomDeliveryConfiguration.Builder> customDeliveryConfiguration)
The delivery configuration settings for sending the treatment through a custom channel.
|
WriteTreatmentResource.Builder |
customDeliveryConfiguration(CustomDeliveryConfiguration customDeliveryConfiguration)
The delivery configuration settings for sending the treatment through a custom channel.
|
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)
The message template to use for the treatment.
|
WriteTreatmentResource.Builder |
templateConfiguration(TemplateConfiguration templateConfiguration)
The message template to use for the treatment.
|
WriteTreatmentResource.Builder |
treatmentDescription(String treatmentDescription)
A custom description of the treatment.
|
WriteTreatmentResource.Builder |
treatmentName(String treatmentName)
A custom name for the treatment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWriteTreatmentResource.Builder customDeliveryConfiguration(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.
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.default WriteTreatmentResource.Builder customDeliveryConfiguration(Consumer<CustomDeliveryConfiguration.Builder> 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 is a convenience method that creates an instance of theCustomDeliveryConfiguration.Builder
avoiding the need to create one manually via CustomDeliveryConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to customDeliveryConfiguration(CustomDeliveryConfiguration).customDeliveryConfiguration - a consumer that will call methods on CustomDeliveryConfiguration.BuildercustomDeliveryConfiguration(CustomDeliveryConfiguration)WriteTreatmentResource.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 method 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 method 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)
The message template to use for the treatment.
templateConfiguration - The message template to use for the treatment.default WriteTreatmentResource.Builder templateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration)
The message template to use for the treatment.
This is a convenience method that creates an instance of theTemplateConfiguration.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)
A custom description of the treatment.
treatmentDescription - A custom description of the treatment.WriteTreatmentResource.Builder treatmentName(String treatmentName)
A custom name for the treatment.
treatmentName - A custom name for the treatment.Copyright © 2022. All rights reserved.