@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Dimension extends Object implements Serializable, Cloneable
Expands the identity of a metric.
Constructor and Description |
---|
Dimension() |
Modifier and Type | Method and Description |
---|---|
Dimension |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the dimension.
|
String |
getValue()
The value representing the dimension measurement.
|
int |
hashCode() |
void |
setName(String name)
The name of the dimension.
|
void |
setValue(String value)
The value representing the dimension measurement.
|
String |
toString()
Returns a string representation of this object.
|
Dimension |
withName(String name)
The name of the dimension.
|
Dimension |
withValue(String value)
The value representing the dimension measurement.
|
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 Dimension withName(String name)
The name of the dimension.
name
- The name of the dimension.public void setValue(String value)
The value representing the dimension measurement.
value
- The value representing the dimension measurement.public String getValue()
The value representing the dimension measurement.
public Dimension withValue(String value)
The value representing the dimension measurement.
value
- The value representing the dimension measurement.public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.