@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
).
Modifier and Type | Class and Description |
---|---|
static class |
UpdateMaintenanceRunDetails.Builder |
static class |
UpdateMaintenanceRunDetails.PatchingMode
Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static UpdateMaintenanceRunDetails.Builder builder()
Create a new builder.
public UpdateMaintenanceRunDetails.Builder toBuilder()
public Boolean getIsEnabled()
If FALSE
, skips the maintenance run.
public Date getTimeScheduled()
The scheduled date and time of the maintenance run to update.
public Boolean getIsPatchNowEnabled()
If set to TRUE
, starts patching immediately.
public String getPatchId()
The OCID of the patch to be applied in the maintenance run.
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.cloud.oracle.com/iaas/Content/Database/Concepts/examaintenance.htm#Oracle) for more information.
public Boolean getIsCustomActionTimeoutEnabled()
If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
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.
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.
public Boolean getIsResumePatching()
If true, then the patching is resumed and the next component will be patched immediately.
public String getTargetDbServerVersion()
The target database server system software version for the patching operation.
public String getTargetStorageServerVersion()
The target storage cell system software version for the patching operation.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.