@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public HistoricalMetricData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.