@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()INCREASEmeans 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)INCREASEmeans 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)INCREASEmeans that a variation with a higher number for this metric is performing better. | 
| MetricGoal | withDesiredChange(String desiredChange)INCREASEmeans 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.
ChangeDirectionEnumpublic 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.
ChangeDirectionEnumpublic 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.
ChangeDirectionEnumpublic 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.
ChangeDirectionEnumpublic 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 ObjectObject.toString()public MetricGoal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.