@Generated(value="OracleSDKGenerator", comments="API Version: 20200107") public final class ScheduledRunSummary extends ExplicitlySetBmcModel
The saved history past run.
Note: Objects should always be created or deserialized using the ScheduledRunSummary.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 ScheduledRunSummary.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 |
ScheduledRunSummary.Builder |
Constructor and Description |
---|
ScheduledRunSummary(String id,
String scheduleId,
Date timeCreated,
Date timeFinished,
ScheduledRun.LifecycleState lifecycleState,
String lifecycleDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ScheduledRunSummary.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() |
ScheduledRunSummary.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 ScheduledRunSummary(String id, String scheduleId, Date timeCreated, Date timeFinished, ScheduledRun.LifecycleState lifecycleState, String lifecycleDetails)
public static ScheduledRunSummary.Builder builder()
Create a new builder.
public ScheduledRunSummary.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 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 ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2022. All rights reserved.