Class CfnDataset.DeltaTimeProperty.Builder

java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDataset.DeltaTimeProperty.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.DeltaTimeProperty>
Enclosing interface:
CfnDataset.DeltaTimeProperty

@Stability(Stable) public static final class CfnDataset.DeltaTimeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDataset.DeltaTimeProperty>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • offsetSeconds

      @Stability(Stable) public CfnDataset.DeltaTimeProperty.Builder offsetSeconds(Number offsetSeconds)
      Parameters:
      offsetSeconds - The number of seconds of estimated in-flight lag time of message data. This parameter is required. When you create dataset contents using message data from a specified timeframe, some message data might still be in flight when processing begins, and so do not arrive in time to be processed. Use this field to make allowances for the in flight time of your message data, so that data not processed from a previous timeframe is included with the next timeframe. Otherwise, missed message data would be excluded from processing during the next timeframe too, because its timestamp places it within the previous timeframe.
      Returns:
      this
    • timeExpression

      @Stability(Stable) public CfnDataset.DeltaTimeProperty.Builder timeExpression(String timeExpression)
      Parameters:
      timeExpression - An expression by which the time of the message data might be determined. This parameter is required. This can be the name of a timestamp field or a SQL expression that is used to derive the time the message data was generated.
      Returns:
      this
    • build

      @Stability(Stable) public CfnDataset.DeltaTimeProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDataset.DeltaTimeProperty>
      Returns:
      a new instance of CfnDataset.DeltaTimeProperty
      Throws:
      NullPointerException - if any required attribute was not provided