Interface Schedule.Builder

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

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

    • scheduleExpression

      Schedule.Builder scheduleExpression(String scheduleExpression)

      The expression that defines when the schedule runs. cron expression is supported. A cron expression consists of six fields separated by white spaces: (minutes hours day_of_month month day_of_week year)

      You can schedule rules to run at most once per day. Your cron expression must use specific values (not wildcards) for the minutes and hours fields. For example: (30 12 * * *) runs daily at 12:30 PM UTC.

      Parameters:
      scheduleExpression - The expression that defines when the schedule runs. cron expression is supported. A cron expression consists of six fields separated by white spaces: (minutes hours day_of_month month day_of_week year)

      You can schedule rules to run at most once per day. Your cron expression must use specific values (not wildcards) for the minutes and hours fields. For example: (30 12 * * *) runs daily at 12:30 PM UTC.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduleExpressionTimezone

      Schedule.Builder scheduleExpressionTimezone(String scheduleExpressionTimezone)

      The timezone to use when interpreting the schedule expression.

      Parameters:
      scheduleExpressionTimezone - The timezone to use when interpreting the schedule expression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionWindowInMinutes

      Schedule.Builder executionWindowInMinutes(Integer executionWindowInMinutes)

      The time window in minutes during which the automation rule can start implementing recommended actions.

      Parameters:
      executionWindowInMinutes - The time window in minutes during which the automation rule can start implementing recommended actions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.