@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricDimension extends Object implements Serializable, Cloneable
Describes the dimension of 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 |
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; useful for testing and debugging.
|
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 Object
Object.toString()
public MetricDimension clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.