Class TreatmentConfig
- java.lang.Object
-
- software.amazon.awssdk.services.evidently.model.TreatmentConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TreatmentConfig.Builder,TreatmentConfig>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTreatmentConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TreatmentConfig.Builderbuilder()Stringdescription()A description for this treatment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringfeature()The feature that this experiment is testing.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()A name for this treatment.List<SdkField<?>>sdkFields()static Class<? extends TreatmentConfig.Builder>serializableBuilderClass()TreatmentConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvariation()The name of the variation to use as this treatment in the experiment.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
description
public final String description()
A description for this treatment.
- Returns:
- A description for this treatment.
-
feature
public final String feature()
The feature that this experiment is testing.
- Returns:
- The feature that this experiment is testing.
-
name
public final String name()
A name for this treatment.
- Returns:
- A name for this treatment.
-
variation
public final String variation()
The name of the variation to use as this treatment in the experiment.
- Returns:
- The name of the variation to use as this treatment in the experiment.
-
toBuilder
public TreatmentConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TreatmentConfig.Builder,TreatmentConfig>
-
builder
public static TreatmentConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends TreatmentConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-