@Generated(value="software.amazon.awssdk:codegen") public final class TreatmentResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TreatmentResource.Builder,TreatmentResource>
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 |
TreatmentResource.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TreatmentResource.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier for the treatment.
|
MessageConfiguration |
messageConfiguration()
The message configuration settings for the treatment.
|
Schedule |
schedule()
The schedule settings for the treatment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TreatmentResource.Builder> |
serializableBuilderClass() |
Integer |
sizePercent()
The allocated percentage of users (segment members) that the treatment is sent to.
|
CampaignState |
state()
The status of the treatment.
|
TemplateConfiguration |
templateConfiguration()
Returns the value of the TemplateConfiguration property for this object.
|
TreatmentResource.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 String id()
The unique identifier for the treatment.
public 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) that the treatment is sent to.
public CampaignState state()
The status of the treatment.
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 TreatmentResource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TreatmentResource.Builder,TreatmentResource>public static TreatmentResource.Builder builder()
public static Class<? extends TreatmentResource.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.