@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Dimension extends Object implements Serializable, Cloneable, StructuredPojo
The required list of dimensions for the 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 dimension's value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the dimension.
|
void |
setValue(String value)
The dimension's value.
|
String |
toString()
Returns a string representation of this object.
|
Dimension |
withName(DimensionName name)
The name of the dimension.
|
Dimension |
withName(String name)
The name of the dimension.
|
Dimension |
withValue(String value)
The dimension's value.
|
public void setName(String name)
The name of the dimension.
name
- The name of the dimension.DimensionName
public String getName()
The name of the dimension.
DimensionName
public Dimension withName(String name)
The name of the dimension.
name
- The name of the dimension.DimensionName
public Dimension withName(DimensionName name)
The name of the dimension.
name
- The name of the dimension.DimensionName
public void setValue(String value)
The dimension's value.
value
- The dimension's value.public String getValue()
The dimension's value.
public Dimension withValue(String value)
The dimension's value.
value
- The dimension's value.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.