@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricDimension extends Object implements Serializable, Cloneable, StructuredPojo
Describes the dimension names and values associated with a metric.
| Constructor and Description | 
|---|
| MetricDimension() | 
| Modifier and Type | Method and Description | 
|---|---|
| MetricDimension | clone() | 
| boolean | equals(Object obj) | 
| String | getName()
 The name of the dimension. | 
| String | getValue()
 The value of the dimension. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setName(String name)
 The name of the dimension. | 
| void | setValue(String value)
 The value of the dimension. | 
| String | toString()Returns a string representation of this object. | 
| MetricDimension | withName(String name)
 The name of the dimension. | 
| MetricDimension | withValue(String value)
 The value of the dimension. | 
public void setName(String name)
The name of the dimension.
name - The name of the dimension.public String getName()
The name of the dimension.
public MetricDimension withName(String name)
The name of the dimension.
name - The name of the dimension.public void setValue(String value)
The value of the dimension.
value - The value of the dimension.public String getValue()
The value of the dimension.
public MetricDimension withValue(String value)
The value of the dimension.
value - The value of the dimension.public String toString()
toString in class ObjectObject.toString()public MetricDimension clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.