Package com.oracle.bmc.database.model
Class UpdateMaintenanceRunDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.UpdateMaintenanceRunDetails.Builder
-
- Enclosing class:
- UpdateMaintenanceRunDetails
public static class UpdateMaintenanceRunDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateMaintenanceRunDetailsbuild()UpdateMaintenanceRunDetails.Buildercopy(UpdateMaintenanceRunDetails model)UpdateMaintenanceRunDetails.BuildercurrentCustomActionTimeoutInMins(Integer currentCustomActionTimeoutInMins)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.UpdateMaintenanceRunDetails.BuildercustomActionTimeoutInMins(Integer customActionTimeoutInMins)Determines the amount of time the system will wait before the start of each database server patching operation.UpdateMaintenanceRunDetails.BuilderisCustomActionTimeoutEnabled(Boolean isCustomActionTimeoutEnabled)If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.UpdateMaintenanceRunDetails.BuilderisEnabled(Boolean isEnabled)If FALSE, skips the maintenance run.UpdateMaintenanceRunDetails.BuilderisPatchNowEnabled(Boolean isPatchNowEnabled)If set to TRUE, starts patching immediately.UpdateMaintenanceRunDetails.BuilderisResumePatching(Boolean isResumePatching)If true, then the patching is resumed and the next component will be patched immediately.UpdateMaintenanceRunDetails.BuilderpatchId(String patchId)The OCID of the patch to be applied in the maintenance run.UpdateMaintenanceRunDetails.BuilderpatchingMode(UpdateMaintenanceRunDetails.PatchingMode patchingMode)Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.UpdateMaintenanceRunDetails.BuildertargetDbServerVersion(String targetDbServerVersion)The target database server system software version for the patching operation.UpdateMaintenanceRunDetails.BuildertargetStorageServerVersion(String targetStorageServerVersion)The target storage cell system software version for the patching operation.UpdateMaintenanceRunDetails.BuildertimeScheduled(Date timeScheduled)The scheduled date and time of the maintenance run to update.
-
-
-
Method Detail
-
isEnabled
public UpdateMaintenanceRunDetails.Builder isEnabled(Boolean isEnabled)
If FALSE, skips the maintenance run.- Parameters:
isEnabled- the value to set- Returns:
- this builder
-
timeScheduled
public UpdateMaintenanceRunDetails.Builder timeScheduled(Date timeScheduled)
The scheduled date and time of the maintenance run to update.- Parameters:
timeScheduled- the value to set- Returns:
- this builder
-
isPatchNowEnabled
public UpdateMaintenanceRunDetails.Builder isPatchNowEnabled(Boolean isPatchNowEnabled)
If set to TRUE, starts patching immediately.- Parameters:
isPatchNowEnabled- the value to set- Returns:
- this builder
-
patchId
public UpdateMaintenanceRunDetails.Builder patchId(String patchId)
The OCID of the patch to be applied in the maintenance run.- Parameters:
patchId- the value to set- Returns:
- this builder
-
patchingMode
public UpdateMaintenanceRunDetails.Builder patchingMode(UpdateMaintenanceRunDetails.PatchingMode patchingMode)
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.
- Parameters:
patchingMode- the value to set- Returns:
- this builder
-
isCustomActionTimeoutEnabled
public UpdateMaintenanceRunDetails.Builder isCustomActionTimeoutEnabled(Boolean isCustomActionTimeoutEnabled)
If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.- Parameters:
isCustomActionTimeoutEnabled- the value to set- Returns:
- this builder
-
customActionTimeoutInMins
public UpdateMaintenanceRunDetails.Builder customActionTimeoutInMins(Integer customActionTimeoutInMins)
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.
- Parameters:
customActionTimeoutInMins- the value to set- Returns:
- this builder
-
currentCustomActionTimeoutInMins
public UpdateMaintenanceRunDetails.Builder currentCustomActionTimeoutInMins(Integer currentCustomActionTimeoutInMins)
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.- Parameters:
currentCustomActionTimeoutInMins- the value to set- Returns:
- this builder
-
isResumePatching
public UpdateMaintenanceRunDetails.Builder isResumePatching(Boolean isResumePatching)
If true, then the patching is resumed and the next component will be patched immediately.- Parameters:
isResumePatching- the value to set- Returns:
- this builder
-
targetDbServerVersion
public UpdateMaintenanceRunDetails.Builder targetDbServerVersion(String targetDbServerVersion)
The target database server system software version for the patching operation.- Parameters:
targetDbServerVersion- the value to set- Returns:
- this builder
-
targetStorageServerVersion
public UpdateMaintenanceRunDetails.Builder targetStorageServerVersion(String targetStorageServerVersion)
The target storage cell system software version for the patching operation.- Parameters:
targetStorageServerVersion- the value to set- Returns:
- this builder
-
build
public UpdateMaintenanceRunDetails build()
-
copy
public UpdateMaintenanceRunDetails.Builder copy(UpdateMaintenanceRunDetails model)
-
-