Package io.temporal.client.schedules
Class ScheduleState.Builder
- java.lang.Object
-
- io.temporal.client.schedules.ScheduleState.Builder
-
- Enclosing class:
- ScheduleState
public static final class ScheduleState.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleState
build()
ScheduleState.Builder
setLimitedAction(boolean limitedAction)
Set ,if true, whether remaining actions will be decremented for each actionScheduleState.Builder
setNote(java.lang.String note)
Set a human-readable message for the schedule.ScheduleState.Builder
setPaused(boolean paused)
Set whether this schedule is paused.ScheduleState.Builder
setRemainingActions(long remainingActions)
Set the actions remaining on this schedule.
-
-
-
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.
-
build
public ScheduleState build()
-
-