Class MaintenanceRun


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

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

        public Date getInitialScheduledTime()
        The date and time the maintenance run was originally scheduled.
        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
      • getTargetResourceType

        public TargetResourceTypeEnum getTargetResourceType()
        The type of the target resource on which the maintenance run occurs.
        Returns:
        the value
      • getInfrastructureId

        public String getInfrastructureId()
        The OCID of the Database Infrastructure on which the maintenance run execution occurs.
        Returns:
        the value
      • getMaintenanceType

        public MaintenanceTypeEnum getMaintenanceType()
        Maintenance type.
        Returns:
        the value
      • getPatchIdentifier

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

        The identifier string includes the patch type and the version of the Database Infrastructure.

        Returns:
        the value
      • getMaintenanceSubtype

        public MaintenanceSubtypeEnum getMaintenanceSubtype()
        Maintenance run sub-type.
        Returns:
        the value
      • getPatchingMode

        public PatchingModeEnum getPatchingMode()
        Database Infrastructure patching mode, either “ROLLING” or “NONROLLING”.

        Default value is ROLLING.

        Returns:
        the value
      • getPatchFailureCount

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

        public String getSourceVersion()
        The source software version for the Oracle infrastructure.
        Returns:
        the value
      • getTargetVersion

        public String getTargetVersion()
        The target software version for the Database Infrastructure patching operation.
        Returns:
        the value
      • getIsCustomActionTimeoutEnabled

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

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

        Supported values are 15 to 120 minutes.

        Returns:
        the value
      • getPatchingStatus

        public PatchingStatusEnum getPatchingStatus()
        The status of the patching operation.
        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
      • getEstimatedPatchingTime

        public Integer getEstimatedPatchingTime()
        The estimated total time required in minutes for all patching operations (compute servers, storage).
        Returns:
        the value
      • getCurrentPatchingComponent

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

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

        public Map<String,​Map<String,​Object>> getSystemTags()
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }

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

        public Map<String,​String> getFreeformTags()
        Simple key-value pair that is applied without any predefined name, type or scope.

        This tag option exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Returns:
        the value
      • getTotalTimeTakenInMins

        public Integer getTotalTimeTakenInMins()
        The total time taken by corresponding resource activity in minutes.
        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