@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DimensionNameValue extends Object implements Serializable, Cloneable, StructuredPojo
A dimension name and value.
Constructor and Description |
---|
DimensionNameValue() |
Modifier and Type | Method and Description |
---|---|
DimensionNameValue |
clone() |
boolean |
equals(Object obj) |
String |
getDimensionName()
The name of the dimension.
|
String |
getDimensionValue()
The value of the dimension.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensionName(String dimensionName)
The name of the dimension.
|
void |
setDimensionValue(String dimensionValue)
The value of the dimension.
|
String |
toString()
Returns a string representation of this object.
|
DimensionNameValue |
withDimensionName(String dimensionName)
The name of the dimension.
|
DimensionNameValue |
withDimensionValue(String dimensionValue)
The value of the dimension.
|
public void setDimensionName(String dimensionName)
The name of the dimension.
dimensionName
- The name of the dimension.public String getDimensionName()
The name of the dimension.
public DimensionNameValue withDimensionName(String dimensionName)
The name of the dimension.
dimensionName
- The name of the dimension.public void setDimensionValue(String dimensionValue)
The value of the dimension.
dimensionValue
- The value of the dimension.public String getDimensionValue()
The value of the dimension.
public DimensionNameValue withDimensionValue(String dimensionValue)
The value of the dimension.
dimensionValue
- The value of the dimension.public String toString()
toString
in class Object
Object.toString()
public DimensionNameValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.