Class 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 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).
    • Method Detail

      • 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
      • getActions

        public List<Action> getActions()
        List of actions
        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
      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel