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, Integer initialJitterInMinutes, 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 frequencyIntegergetInitialJitterInMinutes()Maximum number of minutes after timeStart that the scheduler may use to randomly select the first execution time.IntegergetInterval()The interval of frequency.BooleangetIsRandomStartTime()when true, system generates a randomized first start time between timeStart and timeStart + initialJitterInMinutes.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, Integer initialJitterInMinutes, 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
-
getInitialJitterInMinutes
public Integer getInitialJitterInMinutes()
Maximum number of minutes after timeStart that the scheduler may use to randomly select the first execution time.This value is considered only when isRandomStartTime is true. This value applies only to the initial execution; subsequent executions remain deterministic based on the resolved first trigger time. If timeStart is null, the service resolves the effective start time using the current time. The initial jitter window is then applied once to that resolved start time to determine the first execution time. If not provided and isRandomStartTime is true, the service defaults the jitter window to half of the configured interval duration. The value must not exceed the configured interval duration.
- Returns:
- the value
-
getIsRandomStartTime
public Boolean getIsRandomStartTime()
when true, system generates a randomized first start time between timeStart and timeStart + initialJitterInMinutes.if timeStart is null, the current time is used as the base start time.
- 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
-
-