@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricGoal extends Object implements Serializable, Cloneable, StructuredPojo
A structure that tells Evidently whether higher or lower values are desired for a metric that is used in an experiment.
Constructor and Description |
---|
MetricGoal() |
Modifier and Type | Method and Description |
---|---|
MetricGoal |
clone() |
boolean |
equals(Object obj) |
String |
getDesiredChange()
INCREASE means that a variation with a higher number for this metric is performing better. |
MetricDefinition |
getMetricDefinition()
A structure that contains details about the metric.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDesiredChange(String desiredChange)
INCREASE means that a variation with a higher number for this metric is performing better. |
void |
setMetricDefinition(MetricDefinition metricDefinition)
A structure that contains details about the metric.
|
String |
toString()
Returns a string representation of this object.
|
MetricGoal |
withDesiredChange(ChangeDirectionEnum desiredChange)
INCREASE means that a variation with a higher number for this metric is performing better. |
MetricGoal |
withDesiredChange(String desiredChange)
INCREASE means that a variation with a higher number for this metric is performing better. |
MetricGoal |
withMetricDefinition(MetricDefinition metricDefinition)
A structure that contains details about the metric.
|
public void setDesiredChange(String desiredChange)
INCREASE
means that a variation with a higher number for this metric is performing better.
DECREASE
means that a variation with a lower number for this metric is performing better.
desiredChange
- INCREASE
means that a variation with a higher number for this metric is performing
better.
DECREASE
means that a variation with a lower number for this metric is performing better.
ChangeDirectionEnum
public String getDesiredChange()
INCREASE
means that a variation with a higher number for this metric is performing better.
DECREASE
means that a variation with a lower number for this metric is performing better.
INCREASE
means that a variation with a higher number for this metric is performing
better.
DECREASE
means that a variation with a lower number for this metric is performing better.
ChangeDirectionEnum
public MetricGoal withDesiredChange(String desiredChange)
INCREASE
means that a variation with a higher number for this metric is performing better.
DECREASE
means that a variation with a lower number for this metric is performing better.
desiredChange
- INCREASE
means that a variation with a higher number for this metric is performing
better.
DECREASE
means that a variation with a lower number for this metric is performing better.
ChangeDirectionEnum
public MetricGoal withDesiredChange(ChangeDirectionEnum desiredChange)
INCREASE
means that a variation with a higher number for this metric is performing better.
DECREASE
means that a variation with a lower number for this metric is performing better.
desiredChange
- INCREASE
means that a variation with a higher number for this metric is performing
better.
DECREASE
means that a variation with a lower number for this metric is performing better.
ChangeDirectionEnum
public void setMetricDefinition(MetricDefinition metricDefinition)
A structure that contains details about the metric.
metricDefinition
- A structure that contains details about the metric.public MetricDefinition getMetricDefinition()
A structure that contains details about the metric.
public MetricGoal withMetricDefinition(MetricDefinition metricDefinition)
A structure that contains details about the metric.
metricDefinition
- A structure that contains details about the metric.public String toString()
toString
in class Object
Object.toString()
public MetricGoal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.