@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TreatmentConfig extends Object implements Serializable, Cloneable, StructuredPojo
A structure that defines one treatment in an experiment. A treatment is a variation of the feature that you are including in the experiment.
Constructor and Description |
---|
TreatmentConfig() |
Modifier and Type | Method and Description |
---|---|
TreatmentConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description for this treatment.
|
String |
getFeature()
The feature that this experiment is testing.
|
String |
getName()
A name for this treatment.
|
String |
getVariation()
The name of the variation to use as this treatment in the experiment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
A description for this treatment.
|
void |
setFeature(String feature)
The feature that this experiment is testing.
|
void |
setName(String name)
A name for this treatment.
|
void |
setVariation(String variation)
The name of the variation to use as this treatment in the experiment.
|
String |
toString()
Returns a string representation of this object.
|
TreatmentConfig |
withDescription(String description)
A description for this treatment.
|
TreatmentConfig |
withFeature(String feature)
The feature that this experiment is testing.
|
TreatmentConfig |
withName(String name)
A name for this treatment.
|
TreatmentConfig |
withVariation(String variation)
The name of the variation to use as this treatment in the experiment.
|
public void setDescription(String description)
A description for this treatment.
description
- A description for this treatment.public String getDescription()
A description for this treatment.
public TreatmentConfig withDescription(String description)
A description for this treatment.
description
- A description for this treatment.public void setFeature(String feature)
The feature that this experiment is testing.
feature
- The feature that this experiment is testing.public String getFeature()
The feature that this experiment is testing.
public TreatmentConfig withFeature(String feature)
The feature that this experiment is testing.
feature
- The feature that this experiment is testing.public void setName(String name)
A name for this treatment.
name
- A name for this treatment.public String getName()
A name for this treatment.
public TreatmentConfig withName(String name)
A name for this treatment.
name
- A name for this treatment.public void setVariation(String variation)
The name of the variation to use as this treatment in the experiment.
variation
- The name of the variation to use as this treatment in the experiment.public String getVariation()
The name of the variation to use as this treatment in the experiment.
public TreatmentConfig withVariation(String variation)
The name of the variation to use as this treatment in the experiment.
variation
- The name of the variation to use as this treatment in the experiment.public String toString()
toString
in class Object
Object.toString()
public TreatmentConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.