@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 the ScheduledActivitySummary.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 ScheduledActivitySummary.Builder
, which maintain a
set of all explicitly set fields called ScheduledActivitySummary.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 |
ScheduledActivitySummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static ScheduledActivitySummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<Action> |
getActions()
List of actions
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
Integer |
getDelayInHours()
Cumulative delay hours
|
String |
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 down
|
Date |
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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static ScheduledActivitySummary.Builder builder()
Create a new builder.
public ScheduledActivitySummary.Builder toBuilder()
public String getId()
Unique identifier that is immutable on creation.
public String getDisplayName()
A friendly name for the scheduled activity. Can be changed later.
public ScheduledActivity.RunCycle getRunCycle()
The run cadence of this scheduled activity. Valid values are Quarterly, Monthly, OneOff, and Vertex.
public String getFusionEnvironmentId()
The OCID of the Fusion environment for the scheduled activity.
public ScheduledActivity.LifecycleState getLifecycleState()
The current state of the scheduled activity. Valid values are Scheduled, In progress , Failed, Completed.
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 ScheduledActivity.ServiceAvailability getServiceAvailability()
Service availability / impact during scheduled activity execution, up down
public Date getTimeAccepted()
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 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.
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 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"}
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"}}
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.