Class UpdateMaintenanceRunDetails


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

      • UpdateMaintenanceRunDetails

        @Deprecated
        @ConstructorProperties({"isEnabled","timeScheduled","isPatchNowEnabled","patchId","patchingMode","isCustomActionTimeoutEnabled","customActionTimeoutInMins","currentCustomActionTimeoutInMins","isResumePatching","targetDbServerVersion","targetStorageServerVersion"})
        public UpdateMaintenanceRunDetails​(Boolean isEnabled,
                                           Date timeScheduled,
                                           Boolean isPatchNowEnabled,
                                           String patchId,
                                           UpdateMaintenanceRunDetails.PatchingMode patchingMode,
                                           Boolean isCustomActionTimeoutEnabled,
                                           Integer customActionTimeoutInMins,
                                           Integer currentCustomActionTimeoutInMins,
                                           Boolean isResumePatching,
                                           String targetDbServerVersion,
                                           String targetStorageServerVersion)
        Deprecated.
    • Method Detail

      • getIsEnabled

        public Boolean getIsEnabled()
        If FALSE, skips the maintenance run.
        Returns:
        the value
      • getTimeScheduled

        public Date getTimeScheduled()
        The scheduled date and time of the maintenance run to update.
        Returns:
        the value
      • getIsPatchNowEnabled

        public Boolean getIsPatchNowEnabled()
        If set to TRUE, starts patching immediately.
        Returns:
        the value
      • getPatchId

        public String getPatchId()
        The OCID of the patch to be applied in the maintenance run.
        Returns:
        the value
      • getPatchingMode

        public UpdateMaintenanceRunDetails.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
      • 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()
        The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.
        Returns:
        the value
      • getIsResumePatching

        public Boolean getIsResumePatching()
        If true, then the patching is resumed and the next component will be patched immediately.
        Returns:
        the value
      • getTargetDbServerVersion

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

        public String getTargetStorageServerVersion()
        The target storage cell system software version for the patching operation.
        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