@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EdgeMetric extends Object implements Serializable, Cloneable, StructuredPojo
Information required for edge device metrics.
| Constructor and Description |
|---|
EdgeMetric() |
| Modifier and Type | Method and Description |
|---|---|
EdgeMetric |
clone() |
boolean |
equals(Object obj) |
String |
getDimension()
The dimension of metrics published.
|
String |
getMetricName()
Returns the name of the metric.
|
Date |
getTimestamp()
Timestamp of when the metric was requested.
|
Double |
getValue()
Returns the value of the metric.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDimension(String dimension)
The dimension of metrics published.
|
void |
setMetricName(String metricName)
Returns the name of the metric.
|
void |
setTimestamp(Date timestamp)
Timestamp of when the metric was requested.
|
void |
setValue(Double value)
Returns the value of the metric.
|
String |
toString()
Returns a string representation of this object.
|
EdgeMetric |
withDimension(String dimension)
The dimension of metrics published.
|
EdgeMetric |
withMetricName(String metricName)
Returns the name of the metric.
|
EdgeMetric |
withTimestamp(Date timestamp)
Timestamp of when the metric was requested.
|
EdgeMetric |
withValue(Double value)
Returns the value of the metric.
|
public void setDimension(String dimension)
The dimension of metrics published.
dimension - The dimension of metrics published.public String getDimension()
The dimension of metrics published.
public EdgeMetric withDimension(String dimension)
The dimension of metrics published.
dimension - The dimension of metrics published.public void setMetricName(String metricName)
Returns the name of the metric.
metricName - Returns the name of the metric.public String getMetricName()
Returns the name of the metric.
public EdgeMetric withMetricName(String metricName)
Returns the name of the metric.
metricName - Returns the name of the metric.public void setValue(Double value)
Returns the value of the metric.
value - Returns the value of the metric.public Double getValue()
Returns the value of the metric.
public EdgeMetric withValue(Double value)
Returns the value of the metric.
value - Returns the value of the metric.public void setTimestamp(Date timestamp)
Timestamp of when the metric was requested.
timestamp - Timestamp of when the metric was requested.public Date getTimestamp()
Timestamp of when the metric was requested.
public EdgeMetric withTimestamp(Date timestamp)
Timestamp of when the metric was requested.
timestamp - Timestamp of when the metric was requested.public String toString()
toString in class ObjectObject.toString()public EdgeMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.