@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class MonthlyRuleFrequencyDetails extends AbstractFrequencyDetails
Frequency Details model for monthly frequency based on week of month and day of week.
Note: Objects should always be created or deserialized using the MonthlyRuleFrequencyDetails.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the MonthlyRuleFrequencyDetails.Builder
, which maintain a
set of all explicitly set fields called MonthlyRuleFrequencyDetails.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
MonthlyRuleFrequencyDetails.Builder |
static class |
MonthlyRuleFrequencyDetails.DayOfWeek
This holds the day of the week on which the schedule should be triggered.
|
static class |
MonthlyRuleFrequencyDetails.WeekOfMonth
This holds the week of the month in which the schedule should be triggered.
|
AbstractFrequencyDetails.Frequency, AbstractFrequencyDetails.ModelType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
MonthlyRuleFrequencyDetails(AbstractFrequencyDetails.Frequency frequency,
MonthlyRuleFrequencyDetails.WeekOfMonth weekOfMonth,
Integer interval,
Time time,
MonthlyRuleFrequencyDetails.DayOfWeek dayOfWeek)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MonthlyRuleFrequencyDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
MonthlyRuleFrequencyDetails.DayOfWeek |
getDayOfWeek()
This holds the day of the week on which the schedule should be triggered.
|
Integer |
getInterval()
This hold the repeatability aspect of a schedule.
|
Time |
getTime() |
MonthlyRuleFrequencyDetails.WeekOfMonth |
getWeekOfMonth()
This holds the week of the month in which the schedule should be triggered.
|
int |
hashCode() |
MonthlyRuleFrequencyDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getFrequency
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public MonthlyRuleFrequencyDetails(AbstractFrequencyDetails.Frequency frequency, MonthlyRuleFrequencyDetails.WeekOfMonth weekOfMonth, Integer interval, Time time, MonthlyRuleFrequencyDetails.DayOfWeek dayOfWeek)
public static MonthlyRuleFrequencyDetails.Builder builder()
Create a new builder.
public MonthlyRuleFrequencyDetails.Builder toBuilder()
public MonthlyRuleFrequencyDetails.WeekOfMonth getWeekOfMonth()
This holds the week of the month in which the schedule should be triggered.
public Integer getInterval()
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.
public Time getTime()
public MonthlyRuleFrequencyDetails.DayOfWeek getDayOfWeek()
This holds the day of the week on which the schedule should be triggered.
public String toString()
toString
in class AbstractFrequencyDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class AbstractFrequencyDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class AbstractFrequencyDetails
public int hashCode()
hashCode
in class AbstractFrequencyDetails
Copyright © 2016–2024. All rights reserved.