Interface EnrichmentTrimSettings.Builder

  • Method Details

    • startTime

      <p>Start time for the video analysis time range in nanoseconds since Unix epoch (TimeInNanos format). Data segments at or after this time are included in the enrichment. Must be within the dataset's time bounds.</p> <p>Example (JavaScript): Date.parse('2024-01-01T00:00:00Z') * 1000000 Example (Python): int(datetime.timestamp() * 1e9)</p>
      Parameters:
      startTime - <p>Start time for the video analysis time range in nanoseconds since Unix epoch (TimeInNanos format). Data segments at or after this time are included in the enrichment. Must be within the dataset's time bounds.</p> <p>Example (JavaScript): Date.parse('2024-01-01T00:00:00Z') * 1000000 Example (Python): int(datetime.timestamp() * 1e9)</p>
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      <p>Start time for the video analysis time range in nanoseconds since Unix epoch (TimeInNanos format). Data segments at or after this time are included in the enrichment. Must be within the dataset's time bounds.</p> <p>Example (JavaScript): Date.parse('2024-01-01T00:00:00Z') * 1000000 Example (Python): int(datetime.timestamp() * 1e9)</p> This is a convenience method that creates an instance of the TimeInNanos.Builder avoiding the need to create one manually via TimeInNanos.builder().

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

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

      <p>End time for the video analysis time range in nanoseconds since Unix epoch (TimeInNanos format). Data segments at or before this time are included in the enrichment. Must be greater than startTime and within the dataset's time bounds.</p>
      Parameters:
      endTime - <p>End time for the video analysis time range in nanoseconds since Unix epoch (TimeInNanos format). Data segments at or before this time are included in the enrichment. Must be greater than startTime and within the dataset's time bounds.</p>
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      <p>End time for the video analysis time range in nanoseconds since Unix epoch (TimeInNanos format). Data segments at or before this time are included in the enrichment. Must be greater than startTime and within the dataset's time bounds.</p> This is a convenience method that creates an instance of the TimeInNanos.Builder avoiding the need to create one manually via TimeInNanos.builder().

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

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