@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExperimentResultsData extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains experiment results for one metric that is monitored in the experiment.
Constructor and Description |
---|
ExperimentResultsData() |
Modifier and Type | Method and Description |
---|---|
ExperimentResultsData |
clone() |
boolean |
equals(Object obj) |
String |
getMetricName()
The name of the metric.
|
String |
getResultStat()
The experiment statistic that these results pertain to.
|
String |
getTreatmentName()
The treatment, or variation, that returned the
values in this structure. |
List<Double> |
getValues()
The values for the
metricName that were recorded in the experiment. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetricName(String metricName)
The name of the metric.
|
void |
setResultStat(String resultStat)
The experiment statistic that these results pertain to.
|
void |
setTreatmentName(String treatmentName)
The treatment, or variation, that returned the
values in this structure. |
void |
setValues(Collection<Double> values)
The values for the
metricName that were recorded in the experiment. |
String |
toString()
Returns a string representation of this object.
|
ExperimentResultsData |
withMetricName(String metricName)
The name of the metric.
|
ExperimentResultsData |
withResultStat(ExperimentResultResponseType resultStat)
The experiment statistic that these results pertain to.
|
ExperimentResultsData |
withResultStat(String resultStat)
The experiment statistic that these results pertain to.
|
ExperimentResultsData |
withTreatmentName(String treatmentName)
The treatment, or variation, that returned the
values in this structure. |
ExperimentResultsData |
withValues(Collection<Double> values)
The values for the
metricName that were recorded in the experiment. |
ExperimentResultsData |
withValues(Double... values)
The values for the
metricName that were recorded in the experiment. |
public void setMetricName(String metricName)
The name of the metric.
metricName
- The name of the metric.public String getMetricName()
The name of the metric.
public ExperimentResultsData withMetricName(String metricName)
The name of the metric.
metricName
- The name of the metric.public void setResultStat(String resultStat)
The experiment statistic that these results pertain to.
resultStat
- The experiment statistic that these results pertain to.ExperimentResultResponseType
public String getResultStat()
The experiment statistic that these results pertain to.
ExperimentResultResponseType
public ExperimentResultsData withResultStat(String resultStat)
The experiment statistic that these results pertain to.
resultStat
- The experiment statistic that these results pertain to.ExperimentResultResponseType
public ExperimentResultsData withResultStat(ExperimentResultResponseType resultStat)
The experiment statistic that these results pertain to.
resultStat
- The experiment statistic that these results pertain to.ExperimentResultResponseType
public void setTreatmentName(String treatmentName)
The treatment, or variation, that returned the values
in this structure.
treatmentName
- The treatment, or variation, that returned the values
in this structure.public String getTreatmentName()
The treatment, or variation, that returned the values
in this structure.
values
in this structure.public ExperimentResultsData withTreatmentName(String treatmentName)
The treatment, or variation, that returned the values
in this structure.
treatmentName
- The treatment, or variation, that returned the values
in this structure.public List<Double> getValues()
The values for the metricName
that were recorded in the experiment.
metricName
that were recorded in the experiment.public void setValues(Collection<Double> values)
The values for the metricName
that were recorded in the experiment.
values
- The values for the metricName
that were recorded in the experiment.public ExperimentResultsData withValues(Double... values)
The values for the metricName
that were recorded in the experiment.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The values for the metricName
that were recorded in the experiment.public ExperimentResultsData withValues(Collection<Double> values)
The values for the metricName
that were recorded in the experiment.
values
- The values for the metricName
that were recorded in the experiment.public String toString()
toString
in class Object
Object.toString()
public ExperimentResultsData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.