Interface Schedule.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Schedule.Builder,Schedule>, SdkBuilder<Schedule.Builder,Schedule>, SdkPojo
Enclosing class:
Schedule

public static interface Schedule.Builder extends SdkPojo, CopyableBuilder<Schedule.Builder,Schedule>
  • Method Details

    • scheduleExpression

      Schedule.Builder scheduleExpression(String scheduleExpression)

      A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

      Parameters:
      scheduleExpression - A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      Schedule.Builder state(String state)

      The state of the schedule.

      Parameters:
      state - The state of the schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the schedule.

      Parameters:
      state - The state of the schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: