@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HistoricalMetricData extends Object implements Serializable, Cloneable, StructuredPojo
A HistoricalMetricData object than contains a Metric and a Value.
| Constructor and Description |
|---|
HistoricalMetricData() |
| Modifier and Type | Method and Description |
|---|---|
HistoricalMetricData |
clone() |
boolean |
equals(Object obj) |
HistoricalMetric |
getMetric()
A
HistoricalMetric object. |
Double |
getValue()
The
Value of the metric. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setMetric(HistoricalMetric metric)
A
HistoricalMetric object. |
void |
setValue(Double value)
The
Value of the metric. |
String |
toString()
Returns a string representation of this object.
|
HistoricalMetricData |
withMetric(HistoricalMetric metric)
A
HistoricalMetric object. |
HistoricalMetricData |
withValue(Double value)
The
Value of the metric. |
public void setMetric(HistoricalMetric metric)
A HistoricalMetric object.
metric - A HistoricalMetric object.public HistoricalMetric getMetric()
A HistoricalMetric object.
HistoricalMetric object.public HistoricalMetricData withMetric(HistoricalMetric metric)
A HistoricalMetric object.
metric - A HistoricalMetric object.public void setValue(Double value)
The Value of the metric.
value - The Value of the metric.public Double getValue()
The Value of the metric.
Value of the metric.public HistoricalMetricData withValue(Double value)
The Value of the metric.
value - The Value of the metric.public String toString()
toString in class ObjectObject.toString()public HistoricalMetricData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.