@Generated(value="OracleSDKGenerator", comments="API Version: 20211201") public final class ScheduledActivity extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of scheduled activity.
Note: Objects should always be created or deserialized using the ScheduledActivity.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 ScheduledActivity.Builder
, which maintain a
set of all explicitly set fields called ScheduledActivity.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 |
ScheduledActivity.Builder |
static class |
ScheduledActivity.LifecycleDetails
A message describing the current state in more detail.
|
static class |
ScheduledActivity.LifecycleState
The current state of the scheduledActivity.
|
static class |
ScheduledActivity.RunCycle
run cadence.
|
static class |
ScheduledActivity.ScheduledActivityPhase
A property describing the phase of the scheduled activity.
|
static class |
ScheduledActivity.ServiceAvailability
Service availability / impact during scheduled activity execution up down
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ScheduledActivity(String id,
String displayName,
ScheduledActivity.RunCycle runCycle,
String fusionEnvironmentId,
ScheduledActivity.LifecycleState lifecycleState,
List<Action> actions,
ScheduledActivity.ServiceAvailability serviceAvailability,
Date timeScheduledStart,
Date timeExpectedFinish,
Date timeFinished,
Integer delayInHours,
Date timeCreated,
Date timeUpdated,
ScheduledActivity.LifecycleDetails lifecycleDetails,
ScheduledActivity.ScheduledActivityPhase scheduledActivityPhase,
String scheduledActivityAssociationId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ScheduledActivity.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<Action> |
getActions()
List of actions
|
Integer |
getDelayInHours()
Cumulative delay hours
|
String |
getDisplayName()
scheduled activity display name, can be renamed.
|
String |
getFusionEnvironmentId()
FAaaS Environment Identifier.
|
String |
getId()
Unique identifier that is immutable on creation.
|
ScheduledActivity.LifecycleDetails |
getLifecycleDetails()
A message describing the current state in more detail.
|
ScheduledActivity.LifecycleState |
getLifecycleState()
The current state of the scheduledActivity.
|
ScheduledActivity.RunCycle |
getRunCycle()
run cadence.
|
String |
getScheduledActivityAssociationId()
The unique identifier that associates a scheduled activity with others in one complete
maintenance.
|
ScheduledActivity.ScheduledActivityPhase |
getScheduledActivityPhase()
A property describing the phase of the scheduled activity.
|
ScheduledActivity.ServiceAvailability |
getServiceAvailability()
Service availability / impact during scheduled activity execution up down
|
Date |
getTimeCreated()
The time the scheduled activity record was created.
|
Date |
getTimeExpectedFinish()
Current time the scheduled activity is scheduled to end.
|
Date |
getTimeFinished()
The time the scheduled activity actually completed / cancelled / failed.
|
Date |
getTimeScheduledStart()
Current time the scheduled activity is scheduled to start.
|
Date |
getTimeUpdated()
The time the scheduled activity record was updated.
|
int |
hashCode() |
ScheduledActivity.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","runCycle","fusionEnvironmentId","lifecycleState","actions","serviceAvailability","timeScheduledStart","timeExpectedFinish","timeFinished","delayInHours","timeCreated","timeUpdated","lifecycleDetails","scheduledActivityPhase","scheduledActivityAssociationId"}) public ScheduledActivity(String id, String displayName, ScheduledActivity.RunCycle runCycle, String fusionEnvironmentId, ScheduledActivity.LifecycleState lifecycleState, List<Action> actions, ScheduledActivity.ServiceAvailability serviceAvailability, Date timeScheduledStart, Date timeExpectedFinish, Date timeFinished, Integer delayInHours, Date timeCreated, Date timeUpdated, ScheduledActivity.LifecycleDetails lifecycleDetails, ScheduledActivity.ScheduledActivityPhase scheduledActivityPhase, String scheduledActivityAssociationId)
public static ScheduledActivity.Builder builder()
Create a new builder.
public ScheduledActivity.Builder toBuilder()
public String getId()
Unique identifier that is immutable on creation.
public String getDisplayName()
scheduled activity display name, can be renamed.
public ScheduledActivity.RunCycle getRunCycle()
run cadence.
public String getFusionEnvironmentId()
FAaaS Environment Identifier.
public ScheduledActivity.LifecycleState getLifecycleState()
The current state of the scheduledActivity.
public ScheduledActivity.ServiceAvailability getServiceAvailability()
Service availability / impact during scheduled activity execution up down
public Date getTimeScheduledStart()
Current time the scheduled activity is scheduled to start. An RFC3339 formatted datetime string.
public Date getTimeExpectedFinish()
Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.
public Date getTimeFinished()
The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
public Integer getDelayInHours()
Cumulative delay hours
public Date getTimeCreated()
The time the scheduled activity record was created. An RFC3339 formatted datetime string.
public Date getTimeUpdated()
The time the scheduled activity record was updated. An RFC3339 formatted datetime string.
public ScheduledActivity.LifecycleDetails getLifecycleDetails()
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
public ScheduledActivity.ScheduledActivityPhase getScheduledActivityPhase()
A property describing the phase of the scheduled activity.
public String getScheduledActivityAssociationId()
The unique identifier that associates a scheduled activity with others in one complete maintenance. For example, with ZDT, a complete upgrade maintenance includes 5 scheduled activities - PREPARE, EXECUTE, POST, PRE_MAINTENANCE, and POST_MAINTENANCE. All of them share the same unique identifier - scheduledActivityAssociationId.
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.