Class MonthlyRuleFrequencyDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.model.MonthlyRuleFrequencyDetails.Builder
-
- Enclosing class:
- MonthlyRuleFrequencyDetails
public static class MonthlyRuleFrequencyDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonthlyRuleFrequencyDetailsbuild()MonthlyRuleFrequencyDetails.Buildercopy(MonthlyRuleFrequencyDetails model)MonthlyRuleFrequencyDetails.BuilderdayOfWeek(MonthlyRuleFrequencyDetails.DayOfWeek dayOfWeek)This holds the day of the week on which the schedule should be triggered.MonthlyRuleFrequencyDetails.Builderfrequency(AbstractFrequencyDetails.Frequency frequency)MonthlyRuleFrequencyDetails.Builderinterval(Integer interval)This hold the repeatability aspect of a schedule.MonthlyRuleFrequencyDetails.Buildertime(Time time)MonthlyRuleFrequencyDetails.BuilderweekOfMonth(MonthlyRuleFrequencyDetails.WeekOfMonth weekOfMonth)This holds the week of the month in which the schedule should be triggered.
-
-
-
Method Detail
-
frequency
public MonthlyRuleFrequencyDetails.Builder frequency(AbstractFrequencyDetails.Frequency frequency)
-
weekOfMonth
public MonthlyRuleFrequencyDetails.Builder weekOfMonth(MonthlyRuleFrequencyDetails.WeekOfMonth weekOfMonth)
This holds the week of the month in which the schedule should be triggered.- Parameters:
weekOfMonth- the value to set- Returns:
- this builder
-
interval
public 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.
- Parameters:
interval- the value to set- Returns:
- this builder
-
time
public MonthlyRuleFrequencyDetails.Builder time(Time time)
-
dayOfWeek
public MonthlyRuleFrequencyDetails.Builder dayOfWeek(MonthlyRuleFrequencyDetails.DayOfWeek dayOfWeek)
This holds the day of the week on which the schedule should be triggered.- Parameters:
dayOfWeek- the value to set- Returns:
- this builder
-
build
public MonthlyRuleFrequencyDetails build()
-
copy
public MonthlyRuleFrequencyDetails.Builder copy(MonthlyRuleFrequencyDetails model)
-
-