@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DimensionMapping extends Object implements Serializable, Cloneable, StructuredPojo
Maps source data to a dimension in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
Constructor and Description |
---|
DimensionMapping() |
Modifier and Type | Method and Description |
---|---|
DimensionMapping |
clone() |
boolean |
equals(Object obj) |
String |
getDimensionName()
The metadata attributes of the time series.
|
String |
getDimensionValue()
Dynamic path to the dimension value in the source event.
|
String |
getDimensionValueType()
The data type of the dimension for the time-series data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensionName(String dimensionName)
The metadata attributes of the time series.
|
void |
setDimensionValue(String dimensionValue)
Dynamic path to the dimension value in the source event.
|
void |
setDimensionValueType(String dimensionValueType)
The data type of the dimension for the time-series data.
|
String |
toString()
Returns a string representation of this object.
|
DimensionMapping |
withDimensionName(String dimensionName)
The metadata attributes of the time series.
|
DimensionMapping |
withDimensionValue(String dimensionValue)
Dynamic path to the dimension value in the source event.
|
DimensionMapping |
withDimensionValueType(DimensionValueType dimensionValueType)
The data type of the dimension for the time-series data.
|
DimensionMapping |
withDimensionValueType(String dimensionValueType)
The data type of the dimension for the time-series data.
|
public void setDimensionValue(String dimensionValue)
Dynamic path to the dimension value in the source event.
dimensionValue
- Dynamic path to the dimension value in the source event.public String getDimensionValue()
Dynamic path to the dimension value in the source event.
public DimensionMapping withDimensionValue(String dimensionValue)
Dynamic path to the dimension value in the source event.
dimensionValue
- Dynamic path to the dimension value in the source event.public void setDimensionValueType(String dimensionValueType)
The data type of the dimension for the time-series data.
dimensionValueType
- The data type of the dimension for the time-series data.DimensionValueType
public String getDimensionValueType()
The data type of the dimension for the time-series data.
DimensionValueType
public DimensionMapping withDimensionValueType(String dimensionValueType)
The data type of the dimension for the time-series data.
dimensionValueType
- The data type of the dimension for the time-series data.DimensionValueType
public DimensionMapping withDimensionValueType(DimensionValueType dimensionValueType)
The data type of the dimension for the time-series data.
dimensionValueType
- The data type of the dimension for the time-series data.DimensionValueType
public void setDimensionName(String dimensionName)
The metadata attributes of the time series. For example, the name and Availability Zone of an Amazon EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
dimensionName
- The metadata attributes of the time series. For example, the name and Availability Zone of an Amazon EC2
instance or the name of the manufacturer of a wind turbine are dimensions.public String getDimensionName()
The metadata attributes of the time series. For example, the name and Availability Zone of an Amazon EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
public DimensionMapping withDimensionName(String dimensionName)
The metadata attributes of the time series. For example, the name and Availability Zone of an Amazon EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
dimensionName
- The metadata attributes of the time series. For example, the name and Availability Zone of an Amazon EC2
instance or the name of the manufacturer of a wind turbine are dimensions.public String toString()
toString
in class Object
Object.toString()
public DimensionMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.