@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class HourlyFrequencyDetails extends AbstractFrequencyDetails
Frequency details model to set hourly frequency
Note: Objects should always be created or deserialized using the HourlyFrequencyDetails.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 HourlyFrequencyDetails.Builder
, which maintain a
set of all explicitly set fields called HourlyFrequencyDetails.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 |
HourlyFrequencyDetails.Builder |
AbstractFrequencyDetails.Frequency, AbstractFrequencyDetails.ModelType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
HourlyFrequencyDetails(AbstractFrequencyDetails.Frequency frequency,
Integer interval,
Time time)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HourlyFrequencyDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getInterval()
This hold the repeatability aspect of a schedule.
|
Time |
getTime() |
int |
hashCode() |
HourlyFrequencyDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getFrequency
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public HourlyFrequencyDetails(AbstractFrequencyDetails.Frequency frequency, Integer interval, Time time)
public static HourlyFrequencyDetails.Builder builder()
Create a new builder.
public HourlyFrequencyDetails.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 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.