@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Dimension extends Object implements Serializable, Cloneable, StructuredPojo
Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
Constructor and Description |
---|
Dimension() |
Modifier and Type | Method and Description |
---|---|
Dimension |
clone() |
boolean |
equals(Object obj) |
String |
getDimensionValueType()
The data type of the dimension for the time series data point.
|
String |
getName()
Dimension represents the meta data attributes of the time series.
|
String |
getValue()
The value of the dimension.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensionValueType(String dimensionValueType)
The data type of the dimension for the time series data point.
|
void |
setName(String name)
Dimension represents the meta data attributes of the time series.
|
void |
setValue(String value)
The value of the dimension.
|
String |
toString()
Returns a string representation of this object.
|
Dimension |
withDimensionValueType(DimensionValueType dimensionValueType)
The data type of the dimension for the time series data point.
|
Dimension |
withDimensionValueType(String dimensionValueType)
The data type of the dimension for the time series data point.
|
Dimension |
withName(String name)
Dimension represents the meta data attributes of the time series.
|
Dimension |
withValue(String value)
The value of the dimension.
|
public void setName(String name)
Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
For constraints on Dimension names, see Naming Constraints.
name
- Dimension represents the meta data attributes of the time series. For example, the name and availability
zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
For constraints on Dimension names, see Naming Constraints.
public String getName()
Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
For constraints on Dimension names, see Naming Constraints.
For constraints on Dimension names, see Naming Constraints.
public Dimension withName(String name)
Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
For constraints on Dimension names, see Naming Constraints.
name
- Dimension represents the meta data attributes of the time series. For example, the name and availability
zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
For constraints on Dimension names, see Naming Constraints.
public void setValue(String value)
The value of the dimension.
value
- The value of the dimension.public String getValue()
The value of the dimension.
public Dimension withValue(String value)
The value of the dimension.
value
- The value of the dimension.public void setDimensionValueType(String dimensionValueType)
The data type of the dimension for the time series data point.
dimensionValueType
- The data type of the dimension for the time series data point.DimensionValueType
public String getDimensionValueType()
The data type of the dimension for the time series data point.
DimensionValueType
public Dimension withDimensionValueType(String dimensionValueType)
The data type of the dimension for the time series data point.
dimensionValueType
- The data type of the dimension for the time series data point.DimensionValueType
public Dimension withDimensionValueType(DimensionValueType dimensionValueType)
The data type of the dimension for the time series data point.
dimensionValueType
- The data type of the dimension for the time series data point.DimensionValueType
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.