Class MaintenanceRunSummary


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class MaintenanceRunSummary
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Details of a maintenance run.
    Note: Objects should always be created or deserialized using the MaintenanceRunSummary.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 MaintenanceRunSummary.Builder, which maintain a set of all explicitly set fields called MaintenanceRunSummary.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()
        The OCID of the maintenance run.
        Returns:
        the value
      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment.
        Returns:
        the value
      • getDisplayName

        public String getDisplayName()
        The user-friendly name for the maintenance run.
        Returns:
        the value
      • getDescription

        public String getDescription()
        Description of the maintenance run.
        Returns:
        the value
      • getLifecycleState

        public MaintenanceRunSummary.LifecycleState getLifecycleState()
        The current state of the maintenance run.

        For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.

        Returns:
        the value
      • getLifecycleDetails

        public String getLifecycleDetails()
        Additional information about the current lifecycle state.
        Returns:
        the value
      • getTimeScheduled

        public Date getTimeScheduled()
        The date and time the maintenance run is scheduled to occur.
        Returns:
        the value
      • getTimeStarted

        public Date getTimeStarted()
        The date and time the maintenance run starts.
        Returns:
        the value
      • getTimeEnded

        public Date getTimeEnded()
        The date and time the maintenance run was completed.
        Returns:
        the value
      • getTargetResourceId

        public String getTargetResourceId()
        The ID of the target resource on which the maintenance run occurs.
        Returns:
        the value
      • getPatchId

        public String getPatchId()
        The unique identifier of the patch.

        The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.

        Returns:
        the value
      • getIsDstFileUpdateEnabled

        public Boolean getIsDstFileUpdateEnabled()
        Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database.

        If enabled along with Release Update, patching will be done in a Non-Rolling manner.

        Returns:
        the value
      • getPeerMaintenanceRunId

        public String getPeerMaintenanceRunId()
        The OCID of the maintenance run for the Autonomous Data Guard association’s peer container database.
        Returns:
        the value
      • getPeerMaintenanceRunIds

        public List<String> getPeerMaintenanceRunIds()
        The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.
        Returns:
        the value
      • getPatchingMode

        public MaintenanceRunSummary.PatchingMode getPatchingMode()
        Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.

        Default value is ROLLING.

        IMPORTANT*: Non-rolling infrastructure patching involves system down time. See [Oracle-Managed Infrastructure Maintenance Updates](https://docs.oracle.com/iaas/Content/Database/Concepts/examaintenance.htm#Oracle) for more information.

        Returns:
        the value
      • getPatchFailureCount

        public Integer getPatchFailureCount()
        Contain the patch failure count.
        Returns:
        the value
      • getTargetDbServerVersion

        public String getTargetDbServerVersion()
        The target software version for the database server patching operation.
        Returns:
        the value
      • getTargetStorageServerVersion

        public String getTargetStorageServerVersion()
        The target Cell version that is to be patched to.
        Returns:
        the value
      • getIsCustomActionTimeoutEnabled

        public Boolean getIsCustomActionTimeoutEnabled()
        If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
        Returns:
        the value
      • getCustomActionTimeoutInMins

        public Integer getCustomActionTimeoutInMins()
        Determines the amount of time the system will wait before the start of each database server patching operation.

        Specify a number of minutes, from 15 to 120.

        Returns:
        the value
      • getCurrentCustomActionTimeoutInMins

        public Integer getCurrentCustomActionTimeoutInMins()
        Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
        Returns:
        the value
      • getPatchingStartTime

        public Date getPatchingStartTime()
        The time when the patching operation started.
        Returns:
        the value
      • getPatchingEndTime

        public Date getPatchingEndTime()
        The time when the patching operation ended.
        Returns:
        the value
      • getCurrentPatchingComponent

        public String getCurrentPatchingComponent()
        The name of the current infrastruture component that is getting patched.
        Returns:
        the value
      • getEstimatedComponentPatchingStartTime

        public Date getEstimatedComponentPatchingStartTime()
        The estimated start time of the next infrastruture component patching operation.
        Returns:
        the value
      • getIsMaintenanceRunGranular

        public Boolean getIsMaintenanceRunGranular()
        If FALSE, the maintenance run doesn’t support granular maintenance.
        Returns:
        the value
      • getTotalTimeTakenInMins

        public Integer getTotalTimeTakenInMins()
        The total time taken by corresponding resource activity in minutes.
        Returns:
        the value
      • getDatabaseSoftwareImageId

        public String getDatabaseSoftwareImageId()
        The Autonomous Database Software Image OCID
        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