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