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.ExplicitlySetBmcModel
Details 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 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
-
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.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<Action>
getActions()
List of actionsInteger
getDelayInHours()
Cumulative delay hoursString
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 downDate
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.
-
-
-
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:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-