Interface PipeTargetTimestreamParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PipeTargetTimestreamParameters.Builder,
,PipeTargetTimestreamParameters> SdkBuilder<PipeTargetTimestreamParameters.Builder,
,PipeTargetTimestreamParameters> SdkPojo
- Enclosing class:
PipeTargetTimestreamParameters
-
Method Summary
Modifier and TypeMethodDescriptiondimensionMappings
(Collection<DimensionMapping> dimensionMappings) Map source data to dimensions in the target Timestream for LiveAnalytics table.dimensionMappings
(Consumer<DimensionMapping.Builder>... dimensionMappings) Map source data to dimensions in the target Timestream for LiveAnalytics table.dimensionMappings
(DimensionMapping... dimensionMappings) Map source data to dimensions in the target Timestream for LiveAnalytics table.epochTimeUnit
(String epochTimeUnit) The granularity of the time units used.epochTimeUnit
(EpochTimeUnit epochTimeUnit) The granularity of the time units used.multiMeasureMappings
(Collection<MultiMeasureMapping> multiMeasureMappings) Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.multiMeasureMappings
(Consumer<MultiMeasureMapping.Builder>... multiMeasureMappings) Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.multiMeasureMappings
(MultiMeasureMapping... multiMeasureMappings) Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.singleMeasureMappings
(Collection<SingleMeasureMapping> singleMeasureMappings) Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.singleMeasureMappings
(Consumer<SingleMeasureMapping.Builder>... singleMeasureMappings) Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.singleMeasureMappings
(SingleMeasureMapping... singleMeasureMappings) Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.timeFieldType
(String timeFieldType) The type of time value used.timeFieldType
(TimeFieldType timeFieldType) The type of time value used.timestampFormat
(String timestampFormat) How to format the timestamps.Dynamic path to the source data field that represents the time value for your data.versionValue
(String versionValue) 64 bit version value or source data field that represents the version value for your data.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
timeValue
Dynamic path to the source data field that represents the time value for your data.
- Parameters:
timeValue
- Dynamic path to the source data field that represents the time value for your data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
epochTimeUnit
The granularity of the time units used. Default is
MILLISECONDS
.Required if
TimeFieldType
is specified asEPOCH
.- Parameters:
epochTimeUnit
- The granularity of the time units used. Default isMILLISECONDS
.Required if
TimeFieldType
is specified asEPOCH
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
epochTimeUnit
The granularity of the time units used. Default is
MILLISECONDS
.Required if
TimeFieldType
is specified asEPOCH
.- Parameters:
epochTimeUnit
- The granularity of the time units used. Default isMILLISECONDS
.Required if
TimeFieldType
is specified asEPOCH
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeFieldType
The type of time value used.
The default is
EPOCH
.- Parameters:
timeFieldType
- The type of time value used.The default is
EPOCH
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeFieldType
The type of time value used.
The default is
EPOCH
.- Parameters:
timeFieldType
- The type of time value used.The default is
EPOCH
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timestampFormat
How to format the timestamps. For example,
yyyy-MM-dd'T'HH:mm:ss'Z'
.Required if
TimeFieldType
is specified asTIMESTAMP_FORMAT
.- Parameters:
timestampFormat
- How to format the timestamps. For example,yyyy-MM-dd'T'HH:mm:ss'Z'
.Required if
TimeFieldType
is specified asTIMESTAMP_FORMAT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 is1
.Version
must be1
or greater, or you will receive aValidationException
error.- Parameters:
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 is1
.Version
must be1
or greater, or you will receive aValidationException
error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionMappings
PipeTargetTimestreamParameters.Builder dimensionMappings(Collection<DimensionMapping> dimensionMappings) Map source data to dimensions in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
- Parameters:
dimensionMappings
- Map source data to dimensions in the target Timestream for LiveAnalytics table.For more information, see Amazon Timestream for LiveAnalytics concepts
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionMappings
Map source data to dimensions in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
- Parameters:
dimensionMappings
- Map source data to dimensions in the target Timestream for LiveAnalytics table.For more information, see Amazon Timestream for LiveAnalytics concepts
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionMappings
PipeTargetTimestreamParameters.Builder dimensionMappings(Consumer<DimensionMapping.Builder>... dimensionMappings) Map source data to dimensions in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
This is a convenience method that creates an instance of theDimensionMapping.Builder
avoiding the need to create one manually viaDimensionMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todimensionMappings(List<DimensionMapping>)
.- Parameters:
dimensionMappings
- a consumer that will call methods onDimensionMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
singleMeasureMappings
PipeTargetTimestreamParameters.Builder singleMeasureMappings(Collection<SingleMeasureMapping> singleMeasureMappings) Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
- Parameters:
singleMeasureMappings
- Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
singleMeasureMappings
PipeTargetTimestreamParameters.Builder singleMeasureMappings(SingleMeasureMapping... singleMeasureMappings) Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
- Parameters:
singleMeasureMappings
- Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
singleMeasureMappings
PipeTargetTimestreamParameters.Builder singleMeasureMappings(Consumer<SingleMeasureMapping.Builder>... singleMeasureMappings) Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
This is a convenience method that creates an instance of theSingleMeasureMapping.Builder
avoiding the need to create one manually viaSingleMeasureMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosingleMeasureMappings(List<SingleMeasureMapping>)
.- Parameters:
singleMeasureMappings
- a consumer that will call methods onSingleMeasureMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
multiMeasureMappings
PipeTargetTimestreamParameters.Builder multiMeasureMappings(Collection<MultiMeasureMapping> multiMeasureMappings) Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.
- Parameters:
multiMeasureMappings
- Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiMeasureMappings
PipeTargetTimestreamParameters.Builder multiMeasureMappings(MultiMeasureMapping... multiMeasureMappings) Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.
- Parameters:
multiMeasureMappings
- Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiMeasureMappings
PipeTargetTimestreamParameters.Builder multiMeasureMappings(Consumer<MultiMeasureMapping.Builder>... multiMeasureMappings) Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.
This is a convenience method that creates an instance of theMultiMeasureMapping.Builder
avoiding the need to create one manually viaMultiMeasureMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomultiMeasureMappings(List<MultiMeasureMapping>)
.- Parameters:
multiMeasureMappings
- a consumer that will call methods onMultiMeasureMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-