@Generated(value="software.amazon.awssdk:codegen") public final class TreatmentConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TreatmentConfig.Builder,TreatmentConfig>
A structure that defines one treatment in an experiment. A treatment is a variation of the feature that you are including in the experiment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TreatmentConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TreatmentConfig.Builder |
builder() |
String |
description()
A description for this treatment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
feature()
The feature that this experiment is testing.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
A name for this treatment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TreatmentConfig.Builder> |
serializableBuilderClass() |
TreatmentConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
variation()
The name of the variation to use as this treatment in the experiment.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String description()
A description for this treatment.
public final String feature()
The feature that this experiment is testing.
public final String name()
A name for this treatment.
public final String variation()
The name of the variation to use as this treatment in the experiment.
public TreatmentConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TreatmentConfig.Builder,TreatmentConfig>public static TreatmentConfig.Builder builder()
public static Class<? extends TreatmentConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.