@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HistoricalMetricData extends Object implements Serializable, Cloneable, StructuredPojo
Contains the data for a historical metric.
Constructor and Description |
---|
HistoricalMetricData() |
Modifier and Type | Method and Description |
---|---|
HistoricalMetricData |
clone() |
boolean |
equals(Object obj) |
HistoricalMetric |
getMetric()
Information about the metric.
|
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)
Information about the metric.
|
void |
setValue(Double value)
The value of the metric.
|
String |
toString()
Returns a string representation of this object.
|
HistoricalMetricData |
withMetric(HistoricalMetric metric)
Information about the metric.
|
HistoricalMetricData |
withValue(Double value)
The value of the metric.
|
public void setMetric(HistoricalMetric metric)
Information about the metric.
metric
- Information about the metric.public HistoricalMetric getMetric()
Information about the metric.
public HistoricalMetricData withMetric(HistoricalMetric metric)
Information about the metric.
metric
- Information about the metric.public void setValue(Double value)
The value of the metric.
value
- The value of the metric.public Double getValue()
The 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.