@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomizedMetricSpecification extends Object implements Serializable, Cloneable, StructuredPojo
A customized metric.
| Constructor and Description |
|---|
CustomizedMetricSpecification() |
| Modifier and Type | Method and Description |
|---|---|
CustomizedMetricSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getMetricName()
The name of the customized metric.
|
String |
getNamespace()
The namespace of the customized metric.
|
String |
getStatistic()
The statistic of the customized metric.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMetricName(String metricName)
The name of the customized metric.
|
void |
setNamespace(String namespace)
The namespace of the customized metric.
|
void |
setStatistic(String statistic)
The statistic of the customized metric.
|
String |
toString()
Returns a string representation of this object.
|
CustomizedMetricSpecification |
withMetricName(String metricName)
The name of the customized metric.
|
CustomizedMetricSpecification |
withNamespace(String namespace)
The namespace of the customized metric.
|
CustomizedMetricSpecification |
withStatistic(Statistic statistic)
The statistic of the customized metric.
|
CustomizedMetricSpecification |
withStatistic(String statistic)
The statistic of the customized metric.
|
public void setMetricName(String metricName)
The name of the customized metric.
metricName - The name of the customized metric.public String getMetricName()
The name of the customized metric.
public CustomizedMetricSpecification withMetricName(String metricName)
The name of the customized metric.
metricName - The name of the customized metric.public void setNamespace(String namespace)
The namespace of the customized metric.
namespace - The namespace of the customized metric.public String getNamespace()
The namespace of the customized metric.
public CustomizedMetricSpecification withNamespace(String namespace)
The namespace of the customized metric.
namespace - The namespace of the customized metric.public void setStatistic(String statistic)
The statistic of the customized metric.
statistic - The statistic of the customized metric.Statisticpublic String getStatistic()
The statistic of the customized metric.
Statisticpublic CustomizedMetricSpecification withStatistic(String statistic)
The statistic of the customized metric.
statistic - The statistic of the customized metric.Statisticpublic CustomizedMetricSpecification withStatistic(Statistic statistic)
The statistic of the customized metric.
statistic - The statistic of the customized metric.Statisticpublic String toString()
toString in class ObjectObject.toString()public CustomizedMetricSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.