Interface PipeTargetTimestreamParameters.Builder

  • 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

      PipeTargetTimestreamParameters.Builder epochTimeUnit(String epochTimeUnit)

      The granularity of the time units used. Default is MILLISECONDS.

      Required if TimeFieldType is specified as EPOCH.

      Parameters:
      epochTimeUnit - The granularity of the time units used. Default is MILLISECONDS.

      Required if TimeFieldType is specified as EPOCH.

      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 as EPOCH.

      Parameters:
      epochTimeUnit - The granularity of the time units used. Default is MILLISECONDS.

      Required if TimeFieldType is specified as EPOCH.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      PipeTargetTimestreamParameters.Builder timestampFormat(String timestampFormat)

      How to format the timestamps. For example, yyyy-MM-dd'T'HH:mm:ss'Z'.

      Required if TimeFieldType is specified as TIMESTAMP_FORMAT.

      Parameters:
      timestampFormat - How to format the timestamps. For example, yyyy-MM-dd'T'HH:mm:ss'Z'.

      Required if TimeFieldType is specified as TIMESTAMP_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, Version will still be updated. Default value is 1.

      Version must be 1 or greater, or you will receive a ValidationException 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 is 1.

      Version must be 1 or greater, or you will receive a ValidationException error.

      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(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

      This is a convenience method that creates an instance of the DimensionMapping.Builder avoiding the need to create one manually via DimensionMapping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dimensionMappings(List<DimensionMapping>).

      Parameters:
      dimensionMappings - a consumer that will call methods on DimensionMapping.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 the SingleMeasureMapping.Builder avoiding the need to create one manually via SingleMeasureMapping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to singleMeasureMappings(List<SingleMeasureMapping>).

      Parameters:
      singleMeasureMappings - a consumer that will call methods on SingleMeasureMapping.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 the MultiMeasureMapping.Builder avoiding the need to create one manually via MultiMeasureMapping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to multiMeasureMappings(List<MultiMeasureMapping>).

      Parameters:
      multiMeasureMappings - a consumer that will call methods on MultiMeasureMapping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: