Package com.oracle.bmc.fusionapps.model
Class ScheduledActivity
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.fusionapps.model.ScheduledActivity
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20211201") public final class ScheduledActivity extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails of scheduled activity.
Note: Objects should always be created or deserialized using theScheduledActivity.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 theScheduledActivity.Builder, which maintain a set of all explicitly set fields calledScheduledActivity.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 classScheduledActivity.Builderstatic classScheduledActivity.LifecycleDetailsA message describing the current state in more detail.static classScheduledActivity.LifecycleStateThe current state of the scheduledActivity.static classScheduledActivity.RunCyclerun cadence.static classScheduledActivity.ScheduledActivityPhaseA property describing the phase of the scheduled activity.static classScheduledActivity.ServiceAvailabilityService availability / impact during scheduled activity execution up down
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScheduledActivity.Builderbuilder()Create a new builder.booleanequals(Object o)List<Action>getActions()List of actionsIntegergetDelayInHours()Cumulative delay hoursStringgetDisplayName()scheduled activity display name, can be renamed.StringgetFusionEnvironmentId()FAaaS Environment Identifier.StringgetId()Unique identifier that is immutable on creation.ScheduledActivity.LifecycleDetailsgetLifecycleDetails()A message describing the current state in more detail.ScheduledActivity.LifecycleStategetLifecycleState()The current state of the scheduledActivity.ScheduledActivity.RunCyclegetRunCycle()run cadence.StringgetScheduledActivityAssociationId()The unique identifier that associates a scheduled activity with others in one complete maintenance.ScheduledActivity.ScheduledActivityPhasegetScheduledActivityPhase()A property describing the phase of the scheduled activity.ScheduledActivity.ServiceAvailabilitygetServiceAvailability()Service availability / impact during scheduled activity execution up downDategetTimeCreated()The time the scheduled activity record was created.DategetTimeExpectedFinish()Current time the scheduled activity is scheduled to end.DategetTimeFinished()The time the scheduled activity actually completed / cancelled / failed.DategetTimeScheduledStart()Current time the scheduled activity is scheduled to start.DategetTimeUpdated()The time the scheduled activity record was updated.inthashCode()ScheduledActivity.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ScheduledActivity
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static ScheduledActivity.Builder builder()
Create a new builder.
-
toBuilder
public ScheduledActivity.Builder toBuilder()
-
getId
public String getId()
Unique identifier that is immutable on creation.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
scheduled activity display name, can be renamed.- Returns:
- the value
-
getRunCycle
public ScheduledActivity.RunCycle getRunCycle()
run cadence.- Returns:
- the value
-
getFusionEnvironmentId
public String getFusionEnvironmentId()
FAaaS Environment Identifier.- Returns:
- the value
-
getLifecycleState
public ScheduledActivity.LifecycleState getLifecycleState()
The current state of the scheduledActivity.- Returns:
- the value
-
getServiceAvailability
public ScheduledActivity.ServiceAvailability getServiceAvailability()
Service availability / impact during scheduled activity execution up down- Returns:
- the value
-
getTimeScheduledStart
public Date getTimeScheduledStart()
Current time the scheduled activity is scheduled to start.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeExpectedFinish
public Date getTimeExpectedFinish()
Current time the scheduled activity is scheduled to end.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeFinished
public Date getTimeFinished()
The time the scheduled activity actually completed / cancelled / failed.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getDelayInHours
public Integer getDelayInHours()
Cumulative delay hours- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The time the scheduled activity record was created.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The time the scheduled activity record was updated.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getLifecycleDetails
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.
- Returns:
- the value
-
getScheduledActivityPhase
public ScheduledActivity.ScheduledActivityPhase getScheduledActivityPhase()
A property describing the phase of the scheduled activity.- Returns:
- the value
-
getScheduledActivityAssociationId
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.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-