@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RawMetricData extends Object implements Serializable, Cloneable, StructuredPojo
The raw metric data to associate with the resource.
| Constructor and Description |
|---|
RawMetricData() |
| Modifier and Type | Method and Description |
|---|---|
RawMetricData |
clone() |
boolean |
equals(Object obj) |
String |
getMetricName()
The name of the metric.
|
Integer |
getStep()
The metric step (epoch).
|
Date |
getTimestamp()
The time that the metric was recorded.
|
Double |
getValue()
The metric value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMetricName(String metricName)
The name of the metric.
|
void |
setStep(Integer step)
The metric step (epoch).
|
void |
setTimestamp(Date timestamp)
The time that the metric was recorded.
|
void |
setValue(Double value)
The metric value.
|
String |
toString()
Returns a string representation of this object.
|
RawMetricData |
withMetricName(String metricName)
The name of the metric.
|
RawMetricData |
withStep(Integer step)
The metric step (epoch).
|
RawMetricData |
withTimestamp(Date timestamp)
The time that the metric was recorded.
|
RawMetricData |
withValue(Double value)
The metric value.
|
public void setMetricName(String metricName)
The name of the metric.
metricName - The name of the metric.public String getMetricName()
The name of the metric.
public RawMetricData withMetricName(String metricName)
The name of the metric.
metricName - The name of the metric.public void setTimestamp(Date timestamp)
The time that the metric was recorded.
timestamp - The time that the metric was recorded.public Date getTimestamp()
The time that the metric was recorded.
public RawMetricData withTimestamp(Date timestamp)
The time that the metric was recorded.
timestamp - The time that the metric was recorded.public void setStep(Integer step)
The metric step (epoch).
step - The metric step (epoch).public Integer getStep()
The metric step (epoch).
public RawMetricData withStep(Integer step)
The metric step (epoch).
step - The metric step (epoch).public void setValue(Double value)
The metric value.
value - The metric value.public Double getValue()
The metric value.
public RawMetricData withValue(Double value)
The metric value.
value - The metric value.public String toString()
toString in class ObjectObject.toString()public RawMetricData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.