@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class CustomFrequencyDetails extends AbstractFrequencyDetails
Frequency details model to set cron-based frequency
Note: Objects should always be created or deserialized using the CustomFrequencyDetails.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 CustomFrequencyDetails.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 |
CustomFrequencyDetails.Builder |
AbstractFrequencyDetails.Frequency, AbstractFrequencyDetails.ModelType
Constructor and Description |
---|
CustomFrequencyDetails(AbstractFrequencyDetails.Frequency frequency,
String customExpression)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CustomFrequencyDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCustomExpression()
This holds the complete cron expression for this schedule, for example, 10 0/5 * * * ? that
fires every 5 minutes, at 10 seconds after the minute (i.e.
|
int |
hashCode() |
CustomFrequencyDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getFrequency
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CustomFrequencyDetails(AbstractFrequencyDetails.Frequency frequency, String customExpression)
public static CustomFrequencyDetails.Builder builder()
Create a new builder.
public CustomFrequencyDetails.Builder toBuilder()
public String getCustomExpression()
This holds the complete cron expression for this schedule, for example, 10 0/5 * * * ? that fires every 5 minutes, at 10 seconds after the minute (i.e. 10:00:10 am, 10:05:10 am, etc.)
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.