|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudwatch.model.Dimension
public class Dimension
The Dimension
data type further expands on the identity of a metric using a Name, Value pair.
Constructor Summary | |
---|---|
Dimension()
|
Method Summary | |
---|---|
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; useful for testing and debugging. |
Dimension |
withName(String name)
The name of the dimension. |
Dimension |
withValue(String value)
The value representing the dimension measurement |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Dimension()
Method Detail |
---|
public String getName()
Constraints:
Length: 1 - 255
public void setName(String name)
Constraints:
Length: 1 - 255
name
- The name of the dimension.public Dimension withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
name
- The name of the dimension.
public String getValue()
Constraints:
Length: 1 - 255
public void setValue(String value)
Constraints:
Length: 1 - 255
value
- The value representing the dimension measurementpublic Dimension withValue(String value)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
value
- The value representing the dimension measurement
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |