Class ScheduleState.Builder

  • Enclosing class:
    ScheduleState

    public static final class ScheduleState.Builder
    extends java.lang.Object
    • Method Detail

      • setNote

        public ScheduleState.Builder setNote​(java.lang.String note)
        Set a human-readable message for the schedule.
      • setPaused

        public ScheduleState.Builder setPaused​(boolean paused)
        Set whether this schedule is paused.
      • setLimitedAction

        public ScheduleState.Builder setLimitedAction​(boolean limitedAction)
        Set ,if true, whether remaining actions will be decremented for each action
      • setRemainingActions

        public ScheduleState.Builder setRemainingActions​(long remainingActions)
        Set the actions remaining on this schedule. Once this number hits 0, no further actions are scheduled automatically.