@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimestampMetricValuePair extends Object implements Serializable, Cloneable, StructuredPojo
A pair that contains metric values at the respective timestamp.
Constructor and Description |
---|
TimestampMetricValuePair() |
Modifier and Type | Method and Description |
---|---|
TimestampMetricValuePair |
clone() |
boolean |
equals(Object obj) |
Double |
getMetricValue()
Value of the anomalous metric data point at respective Timestamp.
|
Date |
getTimestamp()
A
Timestamp that specifies the time the event occurred. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetricValue(Double metricValue)
Value of the anomalous metric data point at respective Timestamp.
|
void |
setTimestamp(Date timestamp)
A
Timestamp that specifies the time the event occurred. |
String |
toString()
Returns a string representation of this object.
|
TimestampMetricValuePair |
withMetricValue(Double metricValue)
Value of the anomalous metric data point at respective Timestamp.
|
TimestampMetricValuePair |
withTimestamp(Date timestamp)
A
Timestamp that specifies the time the event occurred. |
public void setTimestamp(Date timestamp)
A Timestamp
that specifies the time the event occurred.
timestamp
- A Timestamp
that specifies the time the event occurred.public Date getTimestamp()
A Timestamp
that specifies the time the event occurred.
Timestamp
that specifies the time the event occurred.public TimestampMetricValuePair withTimestamp(Date timestamp)
A Timestamp
that specifies the time the event occurred.
timestamp
- A Timestamp
that specifies the time the event occurred.public void setMetricValue(Double metricValue)
Value of the anomalous metric data point at respective Timestamp.
metricValue
- Value of the anomalous metric data point at respective Timestamp.public Double getMetricValue()
Value of the anomalous metric data point at respective Timestamp.
public TimestampMetricValuePair withMetricValue(Double metricValue)
Value of the anomalous metric data point at respective Timestamp.
metricValue
- Value of the anomalous metric data point at respective Timestamp.public String toString()
toString
in class Object
Object.toString()
public TimestampMetricValuePair clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.