@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PipeTargetTimestreamParameters extends Object implements Serializable, Cloneable, StructuredPojo
The parameters for using a Timestream for LiveAnalytics table as a target.
Constructor and Description |
---|
PipeTargetTimestreamParameters() |
Modifier and Type | Method and Description |
---|---|
PipeTargetTimestreamParameters |
clone() |
boolean |
equals(Object obj) |
List<DimensionMapping> |
getDimensionMappings()
Map source data to dimensions in the target Timestream for LiveAnalytics table.
|
String |
getEpochTimeUnit()
The granularity of the time units used.
|
List<MultiMeasureMapping> |
getMultiMeasureMappings()
Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics
table.
|
List<SingleMeasureMapping> |
getSingleMeasureMappings()
Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
|
String |
getTimeFieldType()
The type of time value used.
|
String |
getTimestampFormat()
How to format the timestamps.
|
String |
getTimeValue()
Dynamic path to the source data field that represents the time value for your data.
|
String |
getVersionValue()
64 bit version value or source data field that represents the version value for your data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensionMappings(Collection<DimensionMapping> dimensionMappings)
Map source data to dimensions in the target Timestream for LiveAnalytics table.
|
void |
setEpochTimeUnit(String epochTimeUnit)
The granularity of the time units used.
|
void |
setMultiMeasureMappings(Collection<MultiMeasureMapping> multiMeasureMappings)
Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics
table.
|
void |
setSingleMeasureMappings(Collection<SingleMeasureMapping> singleMeasureMappings)
Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
|
void |
setTimeFieldType(String timeFieldType)
The type of time value used.
|
void |
setTimestampFormat(String timestampFormat)
How to format the timestamps.
|
void |
setTimeValue(String timeValue)
Dynamic path to the source data field that represents the time value for your data.
|
void |
setVersionValue(String versionValue)
64 bit version value or source data field that represents the version value for your data.
|
String |
toString()
Returns a string representation of this object.
|
PipeTargetTimestreamParameters |
withDimensionMappings(Collection<DimensionMapping> dimensionMappings)
Map source data to dimensions in the target Timestream for LiveAnalytics table.
|
PipeTargetTimestreamParameters |
withDimensionMappings(DimensionMapping... dimensionMappings)
Map source data to dimensions in the target Timestream for LiveAnalytics table.
|
PipeTargetTimestreamParameters |
withEpochTimeUnit(EpochTimeUnit epochTimeUnit)
The granularity of the time units used.
|
PipeTargetTimestreamParameters |
withEpochTimeUnit(String epochTimeUnit)
The granularity of the time units used.
|
PipeTargetTimestreamParameters |
withMultiMeasureMappings(Collection<MultiMeasureMapping> multiMeasureMappings)
Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics
table.
|
PipeTargetTimestreamParameters |
withMultiMeasureMappings(MultiMeasureMapping... multiMeasureMappings)
Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics
table.
|
PipeTargetTimestreamParameters |
withSingleMeasureMappings(Collection<SingleMeasureMapping> singleMeasureMappings)
Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
|
PipeTargetTimestreamParameters |
withSingleMeasureMappings(SingleMeasureMapping... singleMeasureMappings)
Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
|
PipeTargetTimestreamParameters |
withTimeFieldType(String timeFieldType)
The type of time value used.
|
PipeTargetTimestreamParameters |
withTimeFieldType(TimeFieldType timeFieldType)
The type of time value used.
|
PipeTargetTimestreamParameters |
withTimestampFormat(String timestampFormat)
How to format the timestamps.
|
PipeTargetTimestreamParameters |
withTimeValue(String timeValue)
Dynamic path to the source data field that represents the time value for your data.
|
PipeTargetTimestreamParameters |
withVersionValue(String versionValue)
64 bit version value or source data field that represents the version value for your data.
|
public void setTimeValue(String timeValue)
Dynamic path to the source data field that represents the time value for your data.
timeValue
- Dynamic path to the source data field that represents the time value for your data.public String getTimeValue()
Dynamic path to the source data field that represents the time value for your data.
public PipeTargetTimestreamParameters withTimeValue(String timeValue)
Dynamic path to the source data field that represents the time value for your data.
timeValue
- Dynamic path to the source data field that represents the time value for your data.public void setEpochTimeUnit(String epochTimeUnit)
The granularity of the time units used. Default is MILLISECONDS
.
Required if TimeFieldType
is specified as EPOCH
.
epochTimeUnit
- The granularity of the time units used. Default is MILLISECONDS
.
Required if TimeFieldType
is specified as EPOCH
.
EpochTimeUnit
public String getEpochTimeUnit()
The granularity of the time units used. Default is MILLISECONDS
.
Required if TimeFieldType
is specified as EPOCH
.
MILLISECONDS
.
Required if TimeFieldType
is specified as EPOCH
.
EpochTimeUnit
public PipeTargetTimestreamParameters withEpochTimeUnit(String epochTimeUnit)
The granularity of the time units used. Default is MILLISECONDS
.
Required if TimeFieldType
is specified as EPOCH
.
epochTimeUnit
- The granularity of the time units used. Default is MILLISECONDS
.
Required if TimeFieldType
is specified as EPOCH
.
EpochTimeUnit
public PipeTargetTimestreamParameters withEpochTimeUnit(EpochTimeUnit epochTimeUnit)
The granularity of the time units used. Default is MILLISECONDS
.
Required if TimeFieldType
is specified as EPOCH
.
epochTimeUnit
- The granularity of the time units used. Default is MILLISECONDS
.
Required if TimeFieldType
is specified as EPOCH
.
EpochTimeUnit
public void setTimeFieldType(String timeFieldType)
The type of time value used.
The default is EPOCH
.
timeFieldType
- The type of time value used.
The default is EPOCH
.
TimeFieldType
public String getTimeFieldType()
The type of time value used.
The default is EPOCH
.
The default is EPOCH
.
TimeFieldType
public PipeTargetTimestreamParameters withTimeFieldType(String timeFieldType)
The type of time value used.
The default is EPOCH
.
timeFieldType
- The type of time value used.
The default is EPOCH
.
TimeFieldType
public PipeTargetTimestreamParameters withTimeFieldType(TimeFieldType timeFieldType)
The type of time value used.
The default is EPOCH
.
timeFieldType
- The type of time value used.
The default is EPOCH
.
TimeFieldType
public void setTimestampFormat(String timestampFormat)
How to format the timestamps. For example, YYYY-MM-DDThh:mm:ss.sssTZD
.
Required if TimeFieldType
is specified as TIMESTAMP_FORMAT
.
timestampFormat
- How to format the timestamps. For example, YYYY-MM-DDThh:mm:ss.sssTZD
.
Required if TimeFieldType
is specified as TIMESTAMP_FORMAT
.
public String getTimestampFormat()
How to format the timestamps. For example, YYYY-MM-DDThh:mm:ss.sssTZD
.
Required if TimeFieldType
is specified as TIMESTAMP_FORMAT
.
YYYY-MM-DDThh:mm:ss.sssTZD
.
Required if TimeFieldType
is specified as TIMESTAMP_FORMAT
.
public PipeTargetTimestreamParameters withTimestampFormat(String timestampFormat)
How to format the timestamps. For example, YYYY-MM-DDThh:mm:ss.sssTZD
.
Required if TimeFieldType
is specified as TIMESTAMP_FORMAT
.
timestampFormat
- How to format the timestamps. For example, YYYY-MM-DDThh:mm:ss.sssTZD
.
Required if TimeFieldType
is specified as TIMESTAMP_FORMAT
.
public void setVersionValue(String versionValue)
64 bit version value or source data field that represents the version value for your data.
Write requests with a higher version number will update the existing measure values of the record and version. In cases where the measure value is the same, the version will still be updated.
Default value is 1.
Timestream for LiveAnalytics does not support updating partial measure values in a record.
Write requests for duplicate data with a higher version number will update the existing measure value and
version. In cases where the measure value is the same, Version
will still be updated. Default value
is 1
.
Version
must be 1
or greater, or you will receive a ValidationException
error.
versionValue
- 64 bit version value or source data field that represents the version value for your data.
Write requests with a higher version number will update the existing measure values of the record and version. In cases where the measure value is the same, the version will still be updated.
Default value is 1.
Timestream for LiveAnalytics does not support updating partial measure values in a record.
Write requests for duplicate data with a higher version number will update the existing measure value and
version. In cases where the measure value is the same, Version
will still be updated. Default
value is 1
.
Version
must be 1
or greater, or you will receive a
ValidationException
error.
public String getVersionValue()
64 bit version value or source data field that represents the version value for your data.
Write requests with a higher version number will update the existing measure values of the record and version. In cases where the measure value is the same, the version will still be updated.
Default value is 1.
Timestream for LiveAnalytics does not support updating partial measure values in a record.
Write requests for duplicate data with a higher version number will update the existing measure value and
version. In cases where the measure value is the same, Version
will still be updated. Default value
is 1
.
Version
must be 1
or greater, or you will receive a ValidationException
error.
Write requests with a higher version number will update the existing measure values of the record and version. In cases where the measure value is the same, the version will still be updated.
Default value is 1.
Timestream for LiveAnalytics does not support updating partial measure values in a record.
Write requests for duplicate data with a higher version number will update the existing measure value and
version. In cases where the measure value is the same, Version
will still be updated.
Default value is 1
.
Version
must be 1
or greater, or you will receive a
ValidationException
error.
public PipeTargetTimestreamParameters withVersionValue(String versionValue)
64 bit version value or source data field that represents the version value for your data.
Write requests with a higher version number will update the existing measure values of the record and version. In cases where the measure value is the same, the version will still be updated.
Default value is 1.
Timestream for LiveAnalytics does not support updating partial measure values in a record.
Write requests for duplicate data with a higher version number will update the existing measure value and
version. In cases where the measure value is the same, Version
will still be updated. Default value
is 1
.
Version
must be 1
or greater, or you will receive a ValidationException
error.
versionValue
- 64 bit version value or source data field that represents the version value for your data.
Write requests with a higher version number will update the existing measure values of the record and version. In cases where the measure value is the same, the version will still be updated.
Default value is 1.
Timestream for LiveAnalytics does not support updating partial measure values in a record.
Write requests for duplicate data with a higher version number will update the existing measure value and
version. In cases where the measure value is the same, Version
will still be updated. Default
value is 1
.
Version
must be 1
or greater, or you will receive a
ValidationException
error.
public List<DimensionMapping> getDimensionMappings()
Map source data to dimensions in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
For more information, see Amazon Timestream for LiveAnalytics concepts
public void setDimensionMappings(Collection<DimensionMapping> dimensionMappings)
Map source data to dimensions in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
dimensionMappings
- Map source data to dimensions in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
public PipeTargetTimestreamParameters withDimensionMappings(DimensionMapping... dimensionMappings)
Map source data to dimensions in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
NOTE: This method appends the values to the existing list (if any). Use
setDimensionMappings(java.util.Collection)
or withDimensionMappings(java.util.Collection)
if
you want to override the existing values.
dimensionMappings
- Map source data to dimensions in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
public PipeTargetTimestreamParameters withDimensionMappings(Collection<DimensionMapping> dimensionMappings)
Map source data to dimensions in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
dimensionMappings
- Map source data to dimensions in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
public List<SingleMeasureMapping> getSingleMeasureMappings()
Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
public void setSingleMeasureMappings(Collection<SingleMeasureMapping> singleMeasureMappings)
Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
singleMeasureMappings
- Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics
table.public PipeTargetTimestreamParameters withSingleMeasureMappings(SingleMeasureMapping... singleMeasureMappings)
Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
NOTE: This method appends the values to the existing list (if any). Use
setSingleMeasureMappings(java.util.Collection)
or
withSingleMeasureMappings(java.util.Collection)
if you want to override the existing values.
singleMeasureMappings
- Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics
table.public PipeTargetTimestreamParameters withSingleMeasureMappings(Collection<SingleMeasureMapping> singleMeasureMappings)
Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
singleMeasureMappings
- Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics
table.public List<MultiMeasureMapping> getMultiMeasureMappings()
Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.
public void setMultiMeasureMappings(Collection<MultiMeasureMapping> multiMeasureMappings)
Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.
multiMeasureMappings
- Maps multiple measures from the source event to the same record in the specified Timestream for
LiveAnalytics table.public PipeTargetTimestreamParameters withMultiMeasureMappings(MultiMeasureMapping... multiMeasureMappings)
Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.
NOTE: This method appends the values to the existing list (if any). Use
setMultiMeasureMappings(java.util.Collection)
or withMultiMeasureMappings(java.util.Collection)
if you want to override the existing values.
multiMeasureMappings
- Maps multiple measures from the source event to the same record in the specified Timestream for
LiveAnalytics table.public PipeTargetTimestreamParameters withMultiMeasureMappings(Collection<MultiMeasureMapping> multiMeasureMappings)
Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.
multiMeasureMappings
- Maps multiple measures from the source event to the same record in the specified Timestream for
LiveAnalytics table.public String toString()
toString
in class Object
Object.toString()
public PipeTargetTimestreamParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.