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 SummaryNested 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 SummaryConstructors 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 SummaryAll 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- 
builderpublic static ScheduledActivity.Builder builder() Create a new builder.
 - 
toBuilderpublic ScheduledActivity.Builder toBuilder() 
 - 
getIdpublic String getId() Unique identifier that is immutable on creation.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() scheduled activity display name, can be renamed.- Returns:
- the value
 
 - 
getRunCyclepublic ScheduledActivity.RunCycle getRunCycle() run cadence.- Returns:
- the value
 
 - 
getFusionEnvironmentIdpublic String getFusionEnvironmentId() FAaaS Environment Identifier.- Returns:
- the value
 
 - 
getLifecycleStatepublic ScheduledActivity.LifecycleState getLifecycleState() The current state of the scheduledActivity.- Returns:
- the value
 
 - 
getServiceAvailabilitypublic ScheduledActivity.ServiceAvailability getServiceAvailability() Service availability / impact during scheduled activity execution up down- Returns:
- the value
 
 - 
getTimeScheduledStartpublic Date getTimeScheduledStart() Current time the scheduled activity is scheduled to start.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getTimeExpectedFinishpublic Date getTimeExpectedFinish() Current time the scheduled activity is scheduled to end.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getTimeFinishedpublic Date getTimeFinished() The time the scheduled activity actually completed / cancelled / failed.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getDelayInHourspublic Integer getDelayInHours() Cumulative delay hours- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The time the scheduled activity record was created.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The time the scheduled activity record was updated.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getLifecycleDetailspublic 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
 
 - 
getScheduledActivityPhasepublic ScheduledActivity.ScheduledActivityPhase getScheduledActivityPhase() A property describing the phase of the scheduled activity.- Returns:
- the value
 
 - 
getScheduledActivityAssociationIdpublic 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
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-