Interface PipeTargetTimestreamParameters.Builder

    • 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 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, EpochTimeUnit
      • epochTimeUnit

        PipeTargetTimestreamParameters.Builder epochTimeUnit​(EpochTimeUnit 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, 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
      • timestampFormat

        PipeTargetTimestreamParameters.Builder timestampFormat​(String timestampFormat)

        How to format the timestamps. For example, YYYY-MM-DDThh:mm:ss.sssTZD.

        Required if TimeFieldType is specified as TIMESTAMP_FORMAT.

        Parameters:
        timestampFormat - How to format the timestamps. For example, YYYY-MM-DDThh:mm:ss.sssTZD.

        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.
      • 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.
      • 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.