Interface ScheduleConfiguration.Builder

  • Method Details

    • scheduleExpression

      ScheduleConfiguration.Builder scheduleExpression(String scheduleExpression)

      The schedule expression that defines how often the underlying CloudWatch Logs scheduled query runs. Specify a rate() expression, for example rate(5 minutes).

      Parameters:
      scheduleExpression - The schedule expression that defines how often the underlying CloudWatch Logs scheduled query runs. Specify a rate() expression, for example rate(5 minutes).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTimeOffset

      ScheduleConfiguration.Builder startTimeOffset(Long startTimeOffset)

      The offset, in seconds, before the scheduled execution time at which the query time range begins. For example, an offset of 360 (6 minutes) on a query running at 12:05:00 starts the query time range at 11:59:00.

      Parameters:
      startTimeOffset - The offset, in seconds, before the scheduled execution time at which the query time range begins. For example, an offset of 360 (6 minutes) on a query running at 12:05:00 starts the query time range at 11:59:00.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTimeOffset

      ScheduleConfiguration.Builder endTimeOffset(Long endTimeOffset)

      The offset, in seconds, before the scheduled execution time at which the query time range ends. Must be non-negative and less than StartTimeOffset. The default is 0.

      Parameters:
      endTimeOffset - The offset, in seconds, before the scheduled execution time at which the query time range ends. Must be non-negative and less than StartTimeOffset. The default is 0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.