Package com.oracle.bmc.database.model
Class UpdateMaintenanceRunDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.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 theUpdateMaintenanceRunDetails.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 theUpdateMaintenanceRunDetails.Builder
, which maintain a set of all explicitly set fields calledUpdateMaintenanceRunDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateMaintenanceRunDetails.Builder
static class
UpdateMaintenanceRunDetails.PatchingMode
Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateMaintenanceRunDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
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.Integer
getCustomActionTimeoutInMins()
Determines the amount of time the system will wait before the start of each database server patching operation.Boolean
getIsCustomActionTimeoutEnabled()
If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.Boolean
getIsEnabled()
If FALSE, skips the maintenance run.Boolean
getIsPatchNowEnabled()
If set to TRUE, starts patching immediately.Boolean
getIsResumePatching()
If true, then the patching is resumed and the next component will be patched immediately.String
getPatchId()
The OCID of the patch to be applied in the maintenance run.UpdateMaintenanceRunDetails.PatchingMode
getPatchingMode()
Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.String
getTargetDbServerVersion()
The target database server system software version for the patching operation.String
getTargetStorageServerVersion()
The target storage cell system software version for the patching operation.Date
getTimeScheduled()
The scheduled date and time of the maintenance run to update.int
hashCode()
UpdateMaintenanceRunDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
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
-
builder
public static UpdateMaintenanceRunDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateMaintenanceRunDetails.Builder toBuilder()
-
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 classcom.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 classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-