Interface EventDetection.Builder

  • Method Details

    • datasetId

      EventDetection.Builder datasetId(String datasetId)
      <p>The IoT SiteWise dataset ID containing the video time-series data to analyze. Query IoT SiteWise to discover available datasets in your workspace.</p>
      Parameters:
      datasetId - <p>The IoT SiteWise dataset ID containing the video time-series data to analyze. Query IoT SiteWise to discover available datasets in your workspace.</p>
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeSeriesId

      EventDetection.Builder timeSeriesId(String timeSeriesId)
      <p>Unique system identifier for the video time series to analyze. Specify either timeSeriesId or propertyAlias, but not both. Use this when you have the system-generated time series identifier from IoT SiteWise.</p>
      Parameters:
      timeSeriesId - <p>Unique system identifier for the video time series to analyze. Specify either timeSeriesId or propertyAlias, but not both. Use this when you have the system-generated time series identifier from IoT SiteWise.</p>
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • propertyAlias

      EventDetection.Builder propertyAlias(String propertyAlias)
      <p>Human-readable alias for the video time series to analyze (e.g., /camera/warehouse/zone-a). Specify either propertyAlias or timeSeriesId, but not both. Use this when you have configured friendly aliases in IoT SiteWise for better readability.</p>
      Parameters:
      propertyAlias - <p>Human-readable alias for the video time series to analyze (e.g., /camera/warehouse/zone-a). Specify either propertyAlias or timeSeriesId, but not both. Use this when you have configured friendly aliases in IoT SiteWise for better readability.</p>
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trimSettings

      EventDetection.Builder trimSettings(EnrichmentTrimSettings trimSettings)
      <p>Time range settings defining which portion of the video time-series data to process. Required to ensure predictable processing time and prevent analyzing unbounded datasets. Start and end times must be within the dataset's time bounds.</p>
      Parameters:
      trimSettings - <p>Time range settings defining which portion of the video time-series data to process. Required to ensure predictable processing time and prevent analyzing unbounded datasets. Start and end times must be within the dataset's time bounds.</p>
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trimSettings

      default EventDetection.Builder trimSettings(Consumer<EnrichmentTrimSettings.Builder> trimSettings)
      <p>Time range settings defining which portion of the video time-series data to process. Required to ensure predictable processing time and prevent analyzing unbounded datasets. Start and end times must be within the dataset's time bounds.</p> This is a convenience method that creates an instance of the EnrichmentTrimSettings.Builder avoiding the need to create one manually via EnrichmentTrimSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to trimSettings(EnrichmentTrimSettings).

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