@Generated(value="OracleSDKGenerator", comments="API Version: 20200107") public final class ScheduledRun extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The saved schedule run.
Note: Objects should always be created or deserialized using the ScheduledRun.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 ScheduledRun.Builder
, which maintain a
set of all explicitly set fields called ScheduledRun.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 |
ScheduledRun.Builder |
static class |
ScheduledRun.LifecycleState
Specifies if the schedule job was run successfully or not.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ScheduledRun(String id,
String scheduleId,
Date timeCreated,
Date timeFinished,
ScheduledRun.LifecycleState lifecycleState,
String lifecycleDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ScheduledRun.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getId()
The ocid representing unique shedule run
|
String |
getLifecycleDetails()
Additional details about scheduled run failure
|
ScheduledRun.LifecycleState |
getLifecycleState()
Specifies if the schedule job was run successfully or not.
|
String |
getScheduleId()
The ocid representing unique shedule
|
Date |
getTimeCreated()
The time when schedule started executing
|
Date |
getTimeFinished()
The time when schedule finished executing
|
int |
hashCode() |
ScheduledRun.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","scheduleId","timeCreated","timeFinished","lifecycleState","lifecycleDetails"}) public ScheduledRun(String id, String scheduleId, Date timeCreated, Date timeFinished, ScheduledRun.LifecycleState lifecycleState, String lifecycleDetails)
public static ScheduledRun.Builder builder()
Create a new builder.
public ScheduledRun.Builder toBuilder()
public String getId()
The ocid representing unique shedule run
public String getScheduleId()
The ocid representing unique shedule
public Date getTimeCreated()
The time when schedule started executing
public Date getTimeFinished()
The time when schedule finished executing
public ScheduledRun.LifecycleState getLifecycleState()
Specifies if the schedule job was run successfully or not.
public String getLifecycleDetails()
Additional details about scheduled run failure
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.