Interface ScheduleCondition.Builder

  • Method Details

    • expression

      ScheduleCondition.Builder expression(String expression)

      EventBridge cron or rate expression. Required for existing request and response compatibility. For a structured schedule response, this is the expression derived by Backlog.

      Parameters:
      expression - EventBridge cron or rate expression. Required for existing request and response compatibility. For a structured schedule response, this is the expression derived by Backlog.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spec

      Structured schedule source of truth (cron | timeRange). On CreateTrigger supply exactly one of spec or expression. Present in responses together with the derived expression for structured triggers.

      Parameters:
      spec - Structured schedule source of truth (cron | timeRange). On CreateTrigger supply exactly one of spec or expression. Present in responses together with the derived expression for structured triggers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spec

      Structured schedule source of truth (cron | timeRange). On CreateTrigger supply exactly one of spec or expression. Present in responses together with the derived expression for structured triggers.

      This is a convenience method that creates an instance of the ScheduleSpec.Builder avoiding the need to create one manually via ScheduleSpec.builder().

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

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