Interface PipeTargetTimestreamParameters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PipeTargetTimestreamParameters.Builder,PipeTargetTimestreamParameters>,SdkBuilder<PipeTargetTimestreamParameters.Builder,PipeTargetTimestreamParameters>,SdkPojo
- Enclosing class:
- PipeTargetTimestreamParameters
public static interface PipeTargetTimestreamParameters.Builder extends SdkPojo, CopyableBuilder<PipeTargetTimestreamParameters.Builder,PipeTargetTimestreamParameters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PipeTargetTimestreamParameters.BuilderdimensionMappings(Collection<DimensionMapping> dimensionMappings)Map source data to dimensions in the target Timestream for LiveAnalytics table.PipeTargetTimestreamParameters.BuilderdimensionMappings(Consumer<DimensionMapping.Builder>... dimensionMappings)Map source data to dimensions in the target Timestream for LiveAnalytics table.PipeTargetTimestreamParameters.BuilderdimensionMappings(DimensionMapping... dimensionMappings)Map source data to dimensions in the target Timestream for LiveAnalytics table.PipeTargetTimestreamParameters.BuilderepochTimeUnit(String epochTimeUnit)The granularity of the time units used.PipeTargetTimestreamParameters.BuilderepochTimeUnit(EpochTimeUnit epochTimeUnit)The granularity of the time units used.PipeTargetTimestreamParameters.BuildermultiMeasureMappings(Collection<MultiMeasureMapping> multiMeasureMappings)Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.PipeTargetTimestreamParameters.BuildermultiMeasureMappings(Consumer<MultiMeasureMapping.Builder>... multiMeasureMappings)Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.PipeTargetTimestreamParameters.BuildermultiMeasureMappings(MultiMeasureMapping... multiMeasureMappings)Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.PipeTargetTimestreamParameters.BuildersingleMeasureMappings(Collection<SingleMeasureMapping> singleMeasureMappings)Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.PipeTargetTimestreamParameters.BuildersingleMeasureMappings(Consumer<SingleMeasureMapping.Builder>... singleMeasureMappings)Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.PipeTargetTimestreamParameters.BuildersingleMeasureMappings(SingleMeasureMapping... singleMeasureMappings)Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.PipeTargetTimestreamParameters.BuildertimeFieldType(String timeFieldType)The type of time value used.PipeTargetTimestreamParameters.BuildertimeFieldType(TimeFieldType timeFieldType)The type of time value used.PipeTargetTimestreamParameters.BuildertimestampFormat(String timestampFormat)How to format the timestamps.PipeTargetTimestreamParameters.BuildertimeValue(String timeValue)Dynamic path to the source data field that represents the time value for your data.PipeTargetTimestreamParameters.BuilderversionValue(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, sdkFields
-
-
-
-
Method Detail
-
timeValue
PipeTargetTimestreamParameters.Builder timeValue(String 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
PipeTargetTimestreamParameters.Builder epochTimeUnit(String epochTimeUnit)
The granularity of the time units used. Default is
MILLISECONDS.Required if
TimeFieldTypeis specified asEPOCH.- Parameters:
epochTimeUnit- The granularity of the time units used. Default isMILLISECONDS.Required if
TimeFieldTypeis specified asEPOCH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EpochTimeUnit,EpochTimeUnit
-
epochTimeUnit
PipeTargetTimestreamParameters.Builder epochTimeUnit(EpochTimeUnit epochTimeUnit)
The granularity of the time units used. Default is
MILLISECONDS.Required if
TimeFieldTypeis specified asEPOCH.- Parameters:
epochTimeUnit- The granularity of the time units used. Default isMILLISECONDS.Required if
TimeFieldTypeis specified asEPOCH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EpochTimeUnit,EpochTimeUnit
-
timeFieldType
PipeTargetTimestreamParameters.Builder timeFieldType(String 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,TimeFieldType
-
timeFieldType
PipeTargetTimestreamParameters.Builder timeFieldType(TimeFieldType 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,TimeFieldType
-
timestampFormat
PipeTargetTimestreamParameters.Builder timestampFormat(String timestampFormat)
How to format the timestamps. For example,
YYYY-MM-DDThh:mm:ss.sssTZD.Required if
TimeFieldTypeis specified asTIMESTAMP_FORMAT.- Parameters:
timestampFormat- How to format the timestamps. For example,YYYY-MM-DDThh:mm:ss.sssTZD.Required if
TimeFieldTypeis specified asTIMESTAMP_FORMAT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionValue
PipeTargetTimestreamParameters.Builder versionValue(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,
Versionwill still be updated. Default value is1.Versionmust be1or greater, or you will receive aValidationExceptionerror.- 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,
Versionwill still be updated. Default value is1.Versionmust be1or greater, or you will receive aValidationExceptionerror.- 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
PipeTargetTimestreamParameters.Builder dimensionMappings(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
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.Builderavoiding the need to create one manually viaDimensionMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dimensionMappings(List.) - 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:
#dimensionMappings(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaSingleMeasureMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#singleMeasureMappings(List.) - 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:
#singleMeasureMappings(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaMultiMeasureMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#multiMeasureMappings(List.) - 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:
#multiMeasureMappings(java.util.Collection)
-
-