@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricComparisonComputation extends Object implements Serializable, Cloneable, StructuredPojo
The metric comparison computation configuration.
| Constructor and Description |
|---|
MetricComparisonComputation() |
| Modifier and Type | Method and Description |
|---|---|
MetricComparisonComputation |
clone() |
boolean |
equals(Object obj) |
String |
getComputationId()
The ID for a computation.
|
MeasureField |
getFromValue()
The field that is used in a metric comparison from value setup.
|
String |
getName()
The name of a computation.
|
MeasureField |
getTargetValue()
The field that is used in a metric comparison to value setup.
|
DimensionField |
getTime()
The time field that is used in a computation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setComputationId(String computationId)
The ID for a computation.
|
void |
setFromValue(MeasureField fromValue)
The field that is used in a metric comparison from value setup.
|
void |
setName(String name)
The name of a computation.
|
void |
setTargetValue(MeasureField targetValue)
The field that is used in a metric comparison to value setup.
|
void |
setTime(DimensionField time)
The time field that is used in a computation.
|
String |
toString()
Returns a string representation of this object.
|
MetricComparisonComputation |
withComputationId(String computationId)
The ID for a computation.
|
MetricComparisonComputation |
withFromValue(MeasureField fromValue)
The field that is used in a metric comparison from value setup.
|
MetricComparisonComputation |
withName(String name)
The name of a computation.
|
MetricComparisonComputation |
withTargetValue(MeasureField targetValue)
The field that is used in a metric comparison to value setup.
|
MetricComparisonComputation |
withTime(DimensionField time)
The time field that is used in a computation.
|
public void setComputationId(String computationId)
The ID for a computation.
computationId - The ID for a computation.public String getComputationId()
The ID for a computation.
public MetricComparisonComputation withComputationId(String computationId)
The ID for a computation.
computationId - The ID for a computation.public void setName(String name)
The name of a computation.
name - The name of a computation.public String getName()
The name of a computation.
public MetricComparisonComputation withName(String name)
The name of a computation.
name - The name of a computation.public void setTime(DimensionField time)
The time field that is used in a computation.
time - The time field that is used in a computation.public DimensionField getTime()
The time field that is used in a computation.
public MetricComparisonComputation withTime(DimensionField time)
The time field that is used in a computation.
time - The time field that is used in a computation.public void setFromValue(MeasureField fromValue)
The field that is used in a metric comparison from value setup.
fromValue - The field that is used in a metric comparison from value setup.public MeasureField getFromValue()
The field that is used in a metric comparison from value setup.
public MetricComparisonComputation withFromValue(MeasureField fromValue)
The field that is used in a metric comparison from value setup.
fromValue - The field that is used in a metric comparison from value setup.public void setTargetValue(MeasureField targetValue)
The field that is used in a metric comparison to value setup.
targetValue - The field that is used in a metric comparison to value setup.public MeasureField getTargetValue()
The field that is used in a metric comparison to value setup.
public MetricComparisonComputation withTargetValue(MeasureField targetValue)
The field that is used in a metric comparison to value setup.
targetValue - The field that is used in a metric comparison to value setup.public String toString()
toString in class ObjectObject.toString()public MetricComparisonComputation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.