Interface CfnDataset.DeltaTimeProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDataset.DeltaTimeProperty.Jsii$Proxy
Enclosing class:
CfnDataset

@Stability(Stable) public static interface CfnDataset.DeltaTimeProperty extends software.amazon.jsii.JsiiSerializable
Used to limit data to that which has arrived since the last execution of the action.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.iotanalytics.*;
 DeltaTimeProperty deltaTimeProperty = DeltaTimeProperty.builder()
         .offsetSeconds(123)
         .timeExpression("timeExpression")
         .build();
 
  • Method Details

    • getOffsetSeconds

      @Stability(Stable) @NotNull Number getOffsetSeconds()
      The number of seconds of estimated in-flight lag time of message data.

      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.

    • getTimeExpression

      @Stability(Stable) @NotNull String getTimeExpression()
      An expression by which the time of the message data might be determined.

      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.

    • builder

      @Stability(Stable) static CfnDataset.DeltaTimeProperty.Builder builder()
      Returns:
      a CfnDataset.DeltaTimeProperty.Builder of CfnDataset.DeltaTimeProperty