@Generated(value="software.amazon.awssdk:codegen") public final class WriteTreatmentResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WriteTreatmentResource.Builder,WriteTreatmentResource>
Specifies the settings for a campaign treatment. A treatment is a variation of a campaign that's used for A/B testing of a campaign.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WriteTreatmentResource.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WriteTreatmentResource.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
MessageConfiguration |
messageConfiguration()
The message configuration settings for the treatment.
|
Schedule |
schedule()
The schedule settings for the treatment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WriteTreatmentResource.Builder> |
serializableBuilderClass() |
Integer |
sizePercent()
The allocated percentage of users (segment members) to send the treatment to.
|
TemplateConfiguration |
templateConfiguration()
Returns the value of the TemplateConfiguration property for this object.
|
WriteTreatmentResource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
treatmentDescription()
The custom description of the treatment.
|
String |
treatmentName()
The custom name of the treatment.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic MessageConfiguration messageConfiguration()
The message configuration settings for the treatment.
public Schedule schedule()
The schedule settings for the treatment.
public Integer sizePercent()
The allocated percentage of users (segment members) to send the treatment to.
public TemplateConfiguration templateConfiguration()
public String treatmentDescription()
The custom description of the treatment.
public 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.
public WriteTreatmentResource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WriteTreatmentResource.Builder,WriteTreatmentResource>public static WriteTreatmentResource.Builder builder()
public static Class<? extends WriteTreatmentResource.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.