@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SingleMeasureMapping extends Object implements Serializable, Cloneable, StructuredPojo
Maps a single source data field to a single record in the specified Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
| Constructor and Description |
|---|
SingleMeasureMapping() |
| Modifier and Type | Method and Description |
|---|---|
SingleMeasureMapping |
clone() |
boolean |
equals(Object obj) |
String |
getMeasureName()
Target measure name for the measurement attribute in the Timestream table.
|
String |
getMeasureValue()
Dynamic path of the source field to map to the measure in the record.
|
String |
getMeasureValueType()
Data type of the source field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMeasureName(String measureName)
Target measure name for the measurement attribute in the Timestream table.
|
void |
setMeasureValue(String measureValue)
Dynamic path of the source field to map to the measure in the record.
|
void |
setMeasureValueType(String measureValueType)
Data type of the source field.
|
String |
toString()
Returns a string representation of this object.
|
SingleMeasureMapping |
withMeasureName(String measureName)
Target measure name for the measurement attribute in the Timestream table.
|
SingleMeasureMapping |
withMeasureValue(String measureValue)
Dynamic path of the source field to map to the measure in the record.
|
SingleMeasureMapping |
withMeasureValueType(MeasureValueType measureValueType)
Data type of the source field.
|
SingleMeasureMapping |
withMeasureValueType(String measureValueType)
Data type of the source field.
|
public void setMeasureValue(String measureValue)
Dynamic path of the source field to map to the measure in the record.
measureValue - Dynamic path of the source field to map to the measure in the record.public String getMeasureValue()
Dynamic path of the source field to map to the measure in the record.
public SingleMeasureMapping withMeasureValue(String measureValue)
Dynamic path of the source field to map to the measure in the record.
measureValue - Dynamic path of the source field to map to the measure in the record.public void setMeasureValueType(String measureValueType)
Data type of the source field.
measureValueType - Data type of the source field.MeasureValueTypepublic String getMeasureValueType()
Data type of the source field.
MeasureValueTypepublic SingleMeasureMapping withMeasureValueType(String measureValueType)
Data type of the source field.
measureValueType - Data type of the source field.MeasureValueTypepublic SingleMeasureMapping withMeasureValueType(MeasureValueType measureValueType)
Data type of the source field.
measureValueType - Data type of the source field.MeasureValueTypepublic void setMeasureName(String measureName)
Target measure name for the measurement attribute in the Timestream table.
measureName - Target measure name for the measurement attribute in the Timestream table.public String getMeasureName()
Target measure name for the measurement attribute in the Timestream table.
public SingleMeasureMapping withMeasureName(String measureName)
Target measure name for the measurement attribute in the Timestream table.
measureName - Target measure name for the measurement attribute in the Timestream table.public String toString()
toString in class ObjectObject.toString()public SingleMeasureMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.