@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricStreamStatisticsMetric extends Object implements Serializable, Cloneable
This object contains the information for one metric that is to be streamed with additional statistics.
Constructor and Description |
---|
MetricStreamStatisticsMetric() |
Modifier and Type | Method and Description |
---|---|
MetricStreamStatisticsMetric |
clone() |
boolean |
equals(Object obj) |
String |
getMetricName()
The name of the metric.
|
String |
getNamespace()
The namespace of the metric.
|
int |
hashCode() |
void |
setMetricName(String metricName)
The name of the metric.
|
void |
setNamespace(String namespace)
The namespace of the metric.
|
String |
toString()
Returns a string representation of this object.
|
MetricStreamStatisticsMetric |
withMetricName(String metricName)
The name of the metric.
|
MetricStreamStatisticsMetric |
withNamespace(String namespace)
The namespace of the metric.
|
public void setNamespace(String namespace)
The namespace of the metric.
namespace
- The namespace of the metric.public String getNamespace()
The namespace of the metric.
public MetricStreamStatisticsMetric withNamespace(String namespace)
The namespace of the metric.
namespace
- The namespace of the metric.public void setMetricName(String metricName)
The name of the metric.
metricName
- The name of the metric.public String getMetricName()
The name of the metric.
public MetricStreamStatisticsMetric withMetricName(String metricName)
The name of the metric.
metricName
- The name of the metric.public String toString()
toString
in class Object
Object.toString()
public MetricStreamStatisticsMetric clone()