@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Dimension extends Object implements Serializable, Cloneable
For the metric that the CloudWatch alarm is associated with, a complex type that contains information about one dimension.
Constructor and Description |
---|
Dimension() |
Modifier and Type | Method and Description |
---|---|
Dimension |
clone() |
boolean |
equals(Object obj) |
String |
getName()
For the metric that the CloudWatch alarm is associated with, the name of one dimension.
|
String |
getValue()
For the metric that the CloudWatch alarm is associated with, the value of one dimension.
|
int |
hashCode() |
void |
setName(String name)
For the metric that the CloudWatch alarm is associated with, the name of one dimension.
|
void |
setValue(String value)
For the metric that the CloudWatch alarm is associated with, the value of one dimension.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Dimension |
withName(String name)
For the metric that the CloudWatch alarm is associated with, the name of one dimension.
|
Dimension |
withValue(String value)
For the metric that the CloudWatch alarm is associated with, the value of one dimension.
|
public void setName(String name)
For the metric that the CloudWatch alarm is associated with, the name of one dimension.
name
- For the metric that the CloudWatch alarm is associated with, the name of one dimension.public String getName()
For the metric that the CloudWatch alarm is associated with, the name of one dimension.
public Dimension withName(String name)
For the metric that the CloudWatch alarm is associated with, the name of one dimension.
name
- For the metric that the CloudWatch alarm is associated with, the name of one dimension.public void setValue(String value)
For the metric that the CloudWatch alarm is associated with, the value of one dimension.
value
- For the metric that the CloudWatch alarm is associated with, the value of one dimension.public String getValue()
For the metric that the CloudWatch alarm is associated with, the value of one dimension.
public Dimension withValue(String value)
For the metric that the CloudWatch alarm is associated with, the value of one dimension.
value
- For the metric that the CloudWatch alarm is associated with, the value of one dimension.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.