public static class MonthlyRuleFrequencyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MonthlyRuleFrequencyDetails |
build() |
MonthlyRuleFrequencyDetails.Builder |
copy(MonthlyRuleFrequencyDetails model) |
MonthlyRuleFrequencyDetails.Builder |
dayOfWeek(MonthlyRuleFrequencyDetails.DayOfWeek dayOfWeek)
This holds the day of the week on which the schedule should be triggered.
|
MonthlyRuleFrequencyDetails.Builder |
frequency(AbstractFrequencyDetails.Frequency frequency) |
MonthlyRuleFrequencyDetails.Builder |
interval(Integer interval)
This hold the repeatability aspect of a schedule.
|
MonthlyRuleFrequencyDetails.Builder |
time(Time time) |
MonthlyRuleFrequencyDetails.Builder |
weekOfMonth(MonthlyRuleFrequencyDetails.WeekOfMonth weekOfMonth)
This holds the week of the month in which the schedule should be triggered.
|
public MonthlyRuleFrequencyDetails.Builder frequency(AbstractFrequencyDetails.Frequency frequency)
public MonthlyRuleFrequencyDetails.Builder weekOfMonth(MonthlyRuleFrequencyDetails.WeekOfMonth weekOfMonth)
This holds the week of the month in which the schedule should be triggered.
weekOfMonth
- the value to setpublic MonthlyRuleFrequencyDetails.Builder interval(Integer interval)
This hold the repeatability aspect of a schedule. i.e. in a monhtly frequency, a task can be scheduled for every month, once in two months, once in tree months etc.
interval
- the value to setpublic MonthlyRuleFrequencyDetails.Builder time(Time time)
public MonthlyRuleFrequencyDetails.Builder dayOfWeek(MonthlyRuleFrequencyDetails.DayOfWeek dayOfWeek)
This holds the day of the week on which the schedule should be triggered.
dayOfWeek
- the value to setpublic MonthlyRuleFrequencyDetails build()
public MonthlyRuleFrequencyDetails.Builder copy(MonthlyRuleFrequencyDetails model)
Copyright © 2016–2024. All rights reserved.