Package com.oracle.bmc.datascience.model
Class ScheduleIntervalTrigger
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datascience.model.ScheduleTrigger
-
- com.oracle.bmc.datascience.model.ScheduleIntervalTrigger
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public final class ScheduleIntervalTrigger extends ScheduleTriggerThe interval schedule trigger.
Note: Objects should always be created or deserialized using theScheduleIntervalTrigger.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 theScheduleIntervalTrigger.Builder, which maintain a set of all explicitly set fields calledScheduleIntervalTrigger.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScheduleIntervalTrigger.Builderstatic classScheduleIntervalTrigger.FrequencyThe type of frequency-
Nested classes/interfaces inherited from class com.oracle.bmc.datascience.model.ScheduleTrigger
ScheduleTrigger.TriggerType
-
-
Constructor Summary
Constructors Constructor Description ScheduleIntervalTrigger(Date timeStart, Date timeEnd, ScheduleIntervalTrigger.Frequency frequency, Integer interval, Boolean isRandomStartTime)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScheduleIntervalTrigger.Builderbuilder()Create a new builder.booleanequals(Object o)ScheduleIntervalTrigger.FrequencygetFrequency()The type of frequencyIntegergetInterval()The interval of frequency.BooleangetIsRandomStartTime()when true and timeStart is null, system generate a random start time between now and now + interval; isRandomStartTime can be true if timeStart is null.inthashCode()ScheduleIntervalTrigger.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.datascience.model.ScheduleTrigger
getTimeEnd, getTimeStart
-
-
-
-
Constructor Detail
-
ScheduleIntervalTrigger
@Deprecated public ScheduleIntervalTrigger(Date timeStart, Date timeEnd, ScheduleIntervalTrigger.Frequency frequency, Integer interval, Boolean isRandomStartTime)
Deprecated.
-
-
Method Detail
-
builder
public static ScheduleIntervalTrigger.Builder builder()
Create a new builder.
-
toBuilder
public ScheduleIntervalTrigger.Builder toBuilder()
-
getFrequency
public ScheduleIntervalTrigger.Frequency getFrequency()
The type of frequency- Returns:
- the value
-
getInterval
public Integer getInterval()
The interval of frequency.- Returns:
- the value
-
getIsRandomStartTime
public Boolean getIsRandomStartTime()
when true and timeStart is null, system generate a random start time between now and now + interval; isRandomStartTime can be true if timeStart is null.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classScheduleTrigger
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classScheduleTrigger- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classScheduleTrigger
-
hashCode
public int hashCode()
- Overrides:
hashCodein classScheduleTrigger
-
-