@Deprecated @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricDatum extends Object implements Serializable, Cloneable, StructuredPojo
Internal only. Collects Apache Airflow metrics. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.
| Constructor and Description |
|---|
MetricDatum()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
MetricDatum |
clone()
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
List<Dimension> |
getDimensions()
Deprecated.
Internal only.
|
String |
getMetricName()
Deprecated.
Internal only.
|
StatisticSet |
getStatisticValues()
Deprecated.
|
Date |
getTimestamp()
Deprecated.
Internal only.
|
String |
getUnit()
Deprecated.
Internal only.
|
Double |
getValue()
Deprecated.
Internal only.
|
int |
hashCode()
Deprecated.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Deprecated.
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDimensions(Collection<Dimension> dimensions)
Deprecated.
Internal only.
|
void |
setMetricName(String metricName)
Deprecated.
Internal only.
|
void |
setStatisticValues(StatisticSet statisticValues)
Deprecated.
|
void |
setTimestamp(Date timestamp)
Deprecated.
Internal only.
|
void |
setUnit(String unit)
Deprecated.
Internal only.
|
void |
setValue(Double value)
Deprecated.
Internal only.
|
String |
toString()
Deprecated.
Returns a string representation of this object.
|
MetricDatum |
withDimensions(Collection<Dimension> dimensions)
Deprecated.
Internal only.
|
MetricDatum |
withDimensions(Dimension... dimensions)
Deprecated.
Internal only.
|
MetricDatum |
withMetricName(String metricName)
Deprecated.
Internal only.
|
MetricDatum |
withStatisticValues(StatisticSet statisticValues)
Deprecated.
|
MetricDatum |
withTimestamp(Date timestamp)
Deprecated.
Internal only.
|
MetricDatum |
withUnit(String unit)
Deprecated.
Internal only.
|
MetricDatum |
withUnit(Unit unit)
Deprecated.
Internal only.
|
MetricDatum |
withValue(Double value)
Deprecated.
Internal only.
|
public void setMetricName(String metricName)
Internal only. The name of the metric.
metricName - Internal only. The name of the metric.public String getMetricName()
Internal only. The name of the metric.
public MetricDatum withMetricName(String metricName)
Internal only. The name of the metric.
metricName - Internal only. The name of the metric.public void setTimestamp(Date timestamp)
Internal only. The time the metric data was received.
timestamp - Internal only. The time the metric data was received.public Date getTimestamp()
Internal only. The time the metric data was received.
public MetricDatum withTimestamp(Date timestamp)
Internal only. The time the metric data was received.
timestamp - Internal only. The time the metric data was received.public List<Dimension> getDimensions()
Internal only. The dimensions associated with the metric.
public void setDimensions(Collection<Dimension> dimensions)
Internal only. The dimensions associated with the metric.
dimensions - Internal only. The dimensions associated with the metric.public MetricDatum withDimensions(Dimension... dimensions)
Internal only. The dimensions associated with the metric.
NOTE: This method appends the values to the existing list (if any). Use
setDimensions(java.util.Collection) or withDimensions(java.util.Collection) if you want to
override the existing values.
dimensions - Internal only. The dimensions associated with the metric.public MetricDatum withDimensions(Collection<Dimension> dimensions)
Internal only. The dimensions associated with the metric.
dimensions - Internal only. The dimensions associated with the metric.public void setValue(Double value)
Internal only. The value for the metric.
value - Internal only. The value for the metric.public Double getValue()
Internal only. The value for the metric.
public MetricDatum withValue(Double value)
Internal only. The value for the metric.
value - Internal only. The value for the metric.public void setUnit(String unit)
Internal only. The unit used to store the metric.
unit - Internal only. The unit used to store the metric.Unitpublic String getUnit()
Internal only. The unit used to store the metric.
Unitpublic MetricDatum withUnit(String unit)
Internal only. The unit used to store the metric.
unit - Internal only. The unit used to store the metric.Unitpublic MetricDatum withUnit(Unit unit)
Internal only. The unit used to store the metric.
unit - Internal only. The unit used to store the metric.Unit@Deprecated public void setStatisticValues(StatisticSet statisticValues)
Internal only. The statistical values for the metric.
statisticValues - Internal only. The statistical values for the metric.@Deprecated public StatisticSet getStatisticValues()
Internal only. The statistical values for the metric.
@Deprecated public MetricDatum withStatisticValues(StatisticSet statisticValues)
Internal only. The statistical values for the metric.
statisticValues - Internal only. The statistical values for the metric.public String toString()
toString in class ObjectObject.toString()public MetricDatum clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.