Class MaintenanceExecution


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

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

        public MaintenanceRunLifecycleState getLifecycleState()
        The state of the maintenance run execution.
        Returns:
        the value
      • getLifecycleDetails

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

        public Date getTimeStarted()
        The date and time the maintenance run execution started.
        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 execution occurred.
        Returns:
        the value
      • getInfrastructureId

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

        public String getMaintenanceRunId()
        The OCID of the maintenance run to which this maintenance execution belongs.
        Returns:
        the value
      • getMaintenanceType

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

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

        public PatchingModeEnum getPatchingMode()
        The patching mode for the maintenance run that is being executed.
        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()
        At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.
        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
      • getWorkflowId

        public String getWorkflowId()
        The OCID of the work request executed by this execution.
        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 this execution 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