public class CurrentMetricData
extends java.lang.Object
implements java.io.Serializable
Contains the data for a real-time metric.
| Constructor and Description |
|---|
CurrentMetricData() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
CurrentMetric |
getMetric()
Information about the metric.
|
java.lang.Double |
getValue()
The value of the metric.
|
int |
hashCode() |
void |
setMetric(CurrentMetric 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.
|
CurrentMetricData |
withMetric(CurrentMetric metric)
Information about the metric.
|
CurrentMetricData |
withValue(java.lang.Double value)
The value of the metric.
|
public CurrentMetric getMetric()
Information about the metric.
Information about the metric.
public void setMetric(CurrentMetric metric)
Information about the metric.
metric - Information about the metric.
public CurrentMetricData withMetric(CurrentMetric 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 CurrentMetricData 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.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.