@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CurrentMetricData extends Object implements Serializable, Cloneable, StructuredPojo
Contains the data for a real-time metric.
Constructor and Description |
---|
CurrentMetricData() |
Modifier and Type | Method and Description |
---|---|
CurrentMetricData |
clone() |
boolean |
equals(Object obj) |
CurrentMetric |
getMetric()
Information about the metric.
|
Double |
getValue()
The value of the metric.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetric(CurrentMetric metric)
Information about the metric.
|
void |
setValue(Double value)
The value of the metric.
|
String |
toString()
Returns a string representation of this object.
|
CurrentMetricData |
withMetric(CurrentMetric metric)
Information about the metric.
|
CurrentMetricData |
withValue(Double value)
The value of the metric.
|
public void setMetric(CurrentMetric metric)
Information about the metric.
metric
- Information about the metric.public CurrentMetric getMetric()
Information about the metric.
public CurrentMetricData withMetric(CurrentMetric metric)
Information about the metric.
metric
- Information about the metric.public void setValue(Double value)
The value of the metric.
value
- The value of the metric.public Double getValue()
The value of the metric.
public CurrentMetricData withValue(Double value)
The value of the metric.
value
- The value of the metric.public String toString()
toString
in class Object
Object.toString()
public CurrentMetricData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.