@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CurrentMetricData extends Object implements Serializable, Cloneable, StructuredPojo
A CurrentMetricData object.
| Constructor and Description |
|---|
CurrentMetricData() |
| Modifier and Type | Method and Description |
|---|---|
CurrentMetricData |
clone() |
boolean |
equals(Object obj) |
CurrentMetric |
getMetric()
The metric in a
CurrentMetricData object. |
Double |
getValue()
The value of the metric in the CurrentMetricData object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMetric(CurrentMetric metric)
The metric in a
CurrentMetricData object. |
void |
setValue(Double value)
The value of the metric in the CurrentMetricData object.
|
String |
toString()
Returns a string representation of this object.
|
CurrentMetricData |
withMetric(CurrentMetric metric)
The metric in a
CurrentMetricData object. |
CurrentMetricData |
withValue(Double value)
The value of the metric in the CurrentMetricData object.
|
public void setMetric(CurrentMetric metric)
The metric in a CurrentMetricData object.
metric - The metric in a CurrentMetricData object.public CurrentMetric getMetric()
The metric in a CurrentMetricData object.
CurrentMetricData object.public CurrentMetricData withMetric(CurrentMetric metric)
The metric in a CurrentMetricData object.
metric - The metric in a CurrentMetricData object.public void setValue(Double value)
The value of the metric in the CurrentMetricData object.
value - The value of the metric in the CurrentMetricData object.public Double getValue()
The value of the metric in the CurrentMetricData object.
public CurrentMetricData withValue(Double value)
The value of the metric in the CurrentMetricData object.
value - The value of the metric in the CurrentMetricData object.public String toString()
toString in class ObjectObject.toString()public CurrentMetricData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.