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