public class HistoricalMetricData
extends java.lang.Object
implements java.io.Serializable
Contains the data for a historical metric.
Constructor and Description |
---|
HistoricalMetricData() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
HistoricalMetric |
getMetric()
Information about the metric.
|
java.lang.Double |
getValue()
The value of the metric.
|
int |
hashCode() |
void |
setMetric(HistoricalMetric metric)
Information about the metric.
|
void |
setValue(java.lang.Double value)
The value of the metric.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HistoricalMetricData |
withMetric(HistoricalMetric metric)
Information about the metric.
|
HistoricalMetricData |
withValue(java.lang.Double value)
The value of the metric.
|
public HistoricalMetric getMetric()
Information about the metric.
Information about the metric.
public void setMetric(HistoricalMetric metric)
Information about the metric.
metric
- Information about the metric.
public HistoricalMetricData withMetric(HistoricalMetric metric)
Information about the metric.
Returns a reference to this object so that method calls can be chained together.
metric
- Information about the metric.
public java.lang.Double getValue()
The value of the metric.
The value of the metric.
public void setValue(java.lang.Double value)
The value of the metric.
value
- The value of the metric.
public HistoricalMetricData withValue(java.lang.Double value)
The value of the metric.
Returns a reference to this object so that method calls can be chained together.
value
- The value of the metric.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.