Package io.temporal.client.schedules
Class ScheduleOptions.Builder
- java.lang.Object
-
- io.temporal.client.schedules.ScheduleOptions.Builder
-
- Enclosing class:
- ScheduleOptions
public static final class ScheduleOptions.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ScheduleOptionsbuild()ScheduleOptions.BuildersetBackfills(java.util.List<ScheduleBackfill> backfills)Set the time periods to take actions on as if that time passed right now.ScheduleOptions.BuildersetMemo(java.util.Map<java.lang.String,java.lang.Object> memo)Set the memo for the schedule.ScheduleOptions.BuildersetSearchAttributes(java.util.Map<java.lang.String,?> searchAttributes)Deprecated.ScheduleOptions.BuildersetTriggerImmediately(boolean triggerImmediately)Set if the schedule will be triggered immediately upon creation.ScheduleOptions.BuildersetTypedSearchAttributes(SearchAttributes searchAttributes)Set the search attributes for the schedule.
-
-
-
Method Detail
-
setTriggerImmediately
public ScheduleOptions.Builder setTriggerImmediately(boolean triggerImmediately)
Set if the schedule will be triggered immediately upon creation.
-
setBackfills
public ScheduleOptions.Builder setBackfills(java.util.List<ScheduleBackfill> backfills)
Set the time periods to take actions on as if that time passed right now.
-
setMemo
public ScheduleOptions.Builder setMemo(java.util.Map<java.lang.String,java.lang.Object> memo)
Set the memo for the schedule. Values for the memo cannot be null.
-
setSearchAttributes
public ScheduleOptions.Builder setSearchAttributes(java.util.Map<java.lang.String,?> searchAttributes)
Deprecated.Set the search attributes for the schedule.
-
setTypedSearchAttributes
public ScheduleOptions.Builder setTypedSearchAttributes(SearchAttributes searchAttributes)
Set the search attributes for the schedule.
-
build
public ScheduleOptions build()
-
-