Class ScheduledActivitySummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.fusionapps.model.ScheduledActivitySummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20211201") public final class ScheduledActivitySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of the scheduled activity for a Fusion environment.
Note: Objects should always be created or deserialized using theScheduledActivitySummary.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 theScheduledActivitySummary.Builder
, which maintain a set of all explicitly set fields calledScheduledActivitySummary.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
ScheduledActivitySummary.Builder
-
Constructor Summary
Constructors Constructor Description ScheduledActivitySummary(String id, String displayName, ScheduledActivity.RunCycle runCycle, String fusionEnvironmentId, ScheduledActivity.LifecycleState lifecycleState, List<Action> actions, Date timeScheduledStart, Date timeExpectedFinish, Date timeFinished, Integer delayInHours, ScheduledActivity.ServiceAvailability serviceAvailability, Date timeAccepted, Date timeUpdated, String lifecycleDetails, ScheduledActivity.ScheduledActivityPhase scheduledActivityPhase, String scheduledActivityAssociationId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScheduledActivitySummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<Action>
getActions()
List of actionsMap<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.Integer
getDelayInHours()
Cumulative delay hoursString
getDisplayName()
A friendly name for the scheduled activity.Map<String,String>
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.String
getFusionEnvironmentId()
The OCID of the Fusion environment for the scheduled activity.String
getId()
Unique identifier that is immutable on creation.String
getLifecycleDetails()
A message describing the current state in more detail.ScheduledActivity.LifecycleState
getLifecycleState()
The current state of the scheduled activity.ScheduledActivity.RunCycle
getRunCycle()
The run cadence of this scheduled activity.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
getTimeAccepted()
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()
ScheduledActivitySummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ScheduledActivitySummary
@Deprecated @ConstructorProperties({"id","displayName","runCycle","fusionEnvironmentId","lifecycleState","actions","timeScheduledStart","timeExpectedFinish","timeFinished","delayInHours","serviceAvailability","timeAccepted","timeUpdated","lifecycleDetails","scheduledActivityPhase","scheduledActivityAssociationId","freeformTags","definedTags"}) public ScheduledActivitySummary(String id, String displayName, ScheduledActivity.RunCycle runCycle, String fusionEnvironmentId, ScheduledActivity.LifecycleState lifecycleState, List<Action> actions, Date timeScheduledStart, Date timeExpectedFinish, Date timeFinished, Integer delayInHours, ScheduledActivity.ServiceAvailability serviceAvailability, Date timeAccepted, Date timeUpdated, String lifecycleDetails, ScheduledActivity.ScheduledActivityPhase scheduledActivityPhase, String scheduledActivityAssociationId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
-
Method Detail
-
builder
public static ScheduledActivitySummary.Builder builder()
Create a new builder.
-
toBuilder
public ScheduledActivitySummary.Builder toBuilder()
-
getId
public String getId()
Unique identifier that is immutable on creation.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
A friendly name for the scheduled activity.Can be changed later.
- Returns:
- the value
-
getRunCycle
public ScheduledActivity.RunCycle getRunCycle()
The run cadence of this scheduled activity.Valid values are Quarterly, Monthly, OneOff, and Vertex.
- Returns:
- the value
-
getFusionEnvironmentId
public String getFusionEnvironmentId()
The OCID of the Fusion environment for the scheduled activity.- Returns:
- the value
-
getLifecycleState
public ScheduledActivity.LifecycleState getLifecycleState()
The current state of the scheduled activity.Valid values are Scheduled, In progress , Failed, Completed.
- 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
-
getServiceAvailability
public ScheduledActivity.ServiceAvailability getServiceAvailability()
Service availability / impact during scheduled activity execution, up down- Returns:
- the value
-
getTimeAccepted
public Date getTimeAccepted()
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 String 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
-
getFreeformTags
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- 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
-
-