Package io.temporal.client.schedules
Class Schedule.Builder
- java.lang.Object
-
- io.temporal.client.schedules.Schedule.Builder
-
- Enclosing class:
- Schedule
public static final class Schedule.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Schedule
build()
Schedule.Builder
setAction(ScheduleAction action)
Set the action for this schedule.Schedule.Builder
setPolicy(SchedulePolicy policy)
Set the policy for this scheduleSchedule.Builder
setSpec(ScheduleSpec spec)
Set the spec for this schedule.Schedule.Builder
setState(ScheduleState state)
Set the state for this schedule
-
-
-
Method Detail
-
setAction
public Schedule.Builder setAction(ScheduleAction action)
Set the action for this schedule. Required to build.- See Also:
ScheduleAction
-
setSpec
public Schedule.Builder setSpec(ScheduleSpec spec)
Set the spec for this schedule. Required to build.- See Also:
ScheduleSpec
-
setPolicy
public Schedule.Builder setPolicy(SchedulePolicy policy)
Set the policy for this schedule- See Also:
SchedulePolicy
-
setState
public Schedule.Builder setState(ScheduleState state)
Set the state for this schedule- See Also:
ScheduleState
-
build
public Schedule build()
-
-