Class ScheduleCalendarSpec.Builder
java.lang.Object
io.temporal.client.schedules.ScheduleCalendarSpec.Builder
- Enclosing class:
ScheduleCalendarSpec
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setComment(String comment) Set the description of this specification.setDayOfMonth(List<ScheduleRange> dayOfMonth) Set the day of month ranges to provided values.setDayOfWeek(List<ScheduleRange> dayOfWeek) Set the day of week ranges to provided values.setHour(List<ScheduleRange> hour) Set the hour ranges to provided values.setMinutes(List<ScheduleRange> minutes) Set the minutes ranges to provided values.setMonth(List<ScheduleRange> month) Set the month ranges to provided values.setSeconds(List<ScheduleRange> seconds) Set the second ranges to provided values.setYear(List<ScheduleRange> year) Set the optional year ranges to provided values.
-
Method Details
-
setSeconds
Set the second ranges to provided values. Values must be within the range 0-59.Default matches 0.
-
setMinutes
Set the minutes ranges to provided values. Values must be within the range 0-59.Default matches 0.
-
setHour
Set the hour ranges to provided values. Values must be within the range 0-23.Default matches 0.
-
setDayOfMonth
Set the day of month ranges to provided values. Values must be within the range 1-31.Default matches all days.
-
setMonth
Set the month ranges to provided values. Values must be within the range 1-12.Default matches all months.
-
setYear
Set the optional year ranges to provided values.Default of empty matches all years.
-
setDayOfWeek
Set the day of week ranges to provided values. Values must be within the range 0-6, 0 is Sunday.Default matches all days.
-
setComment
Set the description of this specification. -
build
-