@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class MonthlyFrequencyDetails extends AbstractFrequencyDetails
Frequency Details model for monthly frequency.
Note: Objects should always be created or deserialized using the MonthlyFrequencyDetails.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 MonthlyFrequencyDetails.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
MonthlyFrequencyDetails.Builder |
AbstractFrequencyDetails.Frequency, AbstractFrequencyDetails.ModelType
Constructor and Description |
---|
MonthlyFrequencyDetails(AbstractFrequencyDetails.Frequency frequency,
Integer interval,
Time time,
List<Integer> days)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MonthlyFrequencyDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<Integer> |
getDays()
A list of days of the month to be scheduled.
|
Integer |
getInterval()
This hold the repeatability aspect of a schedule.
|
Time |
getTime() |
int |
hashCode() |
MonthlyFrequencyDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getFrequency
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public MonthlyFrequencyDetails(AbstractFrequencyDetails.Frequency frequency, Integer interval, Time time, List<Integer> days)
public static MonthlyFrequencyDetails.Builder builder()
Create a new builder.
public MonthlyFrequencyDetails.Builder toBuilder()
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 List<Integer> getDays()
A list of days of the month to be scheduled. i.e. excute every 2nd,3rd, 10th of the month.
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–2023. All rights reserved.