public static class MaintenanceRun.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MaintenanceRun |
build() |
MaintenanceRun.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
MaintenanceRun.Builder |
copy(MaintenanceRun model) |
MaintenanceRun.Builder |
currentCustomActionTimeoutInMins(Integer currentCustomActionTimeoutInMins)
Extend current custom action timeout between the current database servers during waiting
state, from 0 (zero) to 30 minutes.
|
MaintenanceRun.Builder |
currentPatchingComponent(String currentPatchingComponent)
The name of the current infrastruture component that is getting patched.
|
MaintenanceRun.Builder |
customActionTimeoutInMins(Integer customActionTimeoutInMins)
Determines the amount of time the system will wait before the start of each database
server patching operation.
|
MaintenanceRun.Builder |
databaseSoftwareImageId(String databaseSoftwareImageId)
The Autonomous Database Software Image
OCID
|
MaintenanceRun.Builder |
description(String description)
Description of the maintenance run.
|
MaintenanceRun.Builder |
displayName(String displayName)
The user-friendly name for the maintenance run.
|
MaintenanceRun.Builder |
estimatedComponentPatchingStartTime(Date estimatedComponentPatchingStartTime)
The estimated start time of the next infrastruture component patching operation.
|
MaintenanceRun.Builder |
estimatedPatchingTime(EstimatedPatchingTime estimatedPatchingTime) |
MaintenanceRun.Builder |
id(String id)
The OCID of the maintenance run.
|
MaintenanceRun.Builder |
isCustomActionTimeoutEnabled(Boolean isCustomActionTimeoutEnabled)
If true, enables the configuration of a custom action timeout (waiting period) between
database servers patching operations.
|
MaintenanceRun.Builder |
isDstFileUpdateEnabled(Boolean isDstFileUpdateEnabled)
Indicates if an automatic DST Time Zone file update is enabled for the Autonomous
Container Database.
|
MaintenanceRun.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
MaintenanceRun.Builder |
lifecycleState(MaintenanceRun.LifecycleState lifecycleState)
The current state of the maintenance run.
|
MaintenanceRun.Builder |
maintenanceSubtype(MaintenanceRun.MaintenanceSubtype maintenanceSubtype)
Maintenance sub-type.
|
MaintenanceRun.Builder |
maintenanceType(MaintenanceRun.MaintenanceType maintenanceType)
Maintenance type.
|
MaintenanceRun.Builder |
patchFailureCount(Integer patchFailureCount)
Contain the patch failure count.
|
MaintenanceRun.Builder |
patchId(String patchId)
The unique identifier of the patch.
|
MaintenanceRun.Builder |
patchingEndTime(Date patchingEndTime)
The time when the patching operation ended.
|
MaintenanceRun.Builder |
patchingMode(MaintenanceRun.PatchingMode patchingMode)
Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.
|
MaintenanceRun.Builder |
patchingStartTime(Date patchingStartTime)
The time when the patching operation started.
|
MaintenanceRun.Builder |
patchingStatus(MaintenanceRun.PatchingStatus patchingStatus)
The status of the patching operation.
|
MaintenanceRun.Builder |
peerMaintenanceRunId(String peerMaintenanceRunId)
The OCID of the
maintenance run for the Autonomous Data Guard association’s peer container database.
|
MaintenanceRun.Builder |
targetDbServerVersion(String targetDbServerVersion)
The target software version for the database server patching operation.
|
MaintenanceRun.Builder |
targetResourceId(String targetResourceId)
The ID of the target resource on which the maintenance run occurs.
|
MaintenanceRun.Builder |
targetResourceType(MaintenanceRun.TargetResourceType targetResourceType)
The type of the target resource on which the maintenance run occurs.
|
MaintenanceRun.Builder |
targetStorageServerVersion(String targetStorageServerVersion)
The target Cell version that is to be patched to.
|
MaintenanceRun.Builder |
timeEnded(Date timeEnded)
The date and time the maintenance run was completed.
|
MaintenanceRun.Builder |
timeScheduled(Date timeScheduled)
The date and time the maintenance run is scheduled to occur.
|
MaintenanceRun.Builder |
timeStarted(Date timeStarted)
The date and time the maintenance run starts.
|
public MaintenanceRun.Builder id(String id)
The OCID of the maintenance run.
id
- the value to setpublic MaintenanceRun.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic MaintenanceRun.Builder displayName(String displayName)
The user-friendly name for the maintenance run.
displayName
- the value to setpublic MaintenanceRun.Builder description(String description)
Description of the maintenance run.
description
- the value to setpublic MaintenanceRun.Builder lifecycleState(MaintenanceRun.LifecycleState lifecycleState)
The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
lifecycleState
- the value to setpublic MaintenanceRun.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic MaintenanceRun.Builder timeScheduled(Date timeScheduled)
The date and time the maintenance run is scheduled to occur.
timeScheduled
- the value to setpublic MaintenanceRun.Builder timeStarted(Date timeStarted)
The date and time the maintenance run starts.
timeStarted
- the value to setpublic MaintenanceRun.Builder timeEnded(Date timeEnded)
The date and time the maintenance run was completed.
timeEnded
- the value to setpublic MaintenanceRun.Builder targetResourceType(MaintenanceRun.TargetResourceType targetResourceType)
The type of the target resource on which the maintenance run occurs.
targetResourceType
- the value to setpublic MaintenanceRun.Builder targetResourceId(String targetResourceId)
The ID of the target resource on which the maintenance run occurs.
targetResourceId
- the value to setpublic MaintenanceRun.Builder maintenanceType(MaintenanceRun.MaintenanceType maintenanceType)
Maintenance type.
maintenanceType
- the value to setpublic MaintenanceRun.Builder patchId(String patchId)
The unique identifier of the patch. The identifier string includes the patch type, the
Oracle Database version, and the patch creation date (using the format YYMMDD). For
example, the identifier ru_patch_19.9.0.0_201030
is used for an RU patch for
Oracle Database 19.9.0.0 that was released October 30, 2020.
patchId
- the value to setpublic MaintenanceRun.Builder maintenanceSubtype(MaintenanceRun.MaintenanceSubtype maintenanceSubtype)
Maintenance sub-type.
maintenanceSubtype
- the value to setpublic MaintenanceRun.Builder isDstFileUpdateEnabled(Boolean isDstFileUpdateEnabled)
Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
isDstFileUpdateEnabled
- the value to setpublic MaintenanceRun.Builder peerMaintenanceRunId(String peerMaintenanceRunId)
The OCID of the maintenance run for the Autonomous Data Guard association’s peer container database.
peerMaintenanceRunId
- the value to setpublic MaintenanceRun.Builder patchingMode(MaintenanceRun.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.cloud.oracle.com/iaas/Content/Database/Concepts/examaintenance.htm#Oracle) for more information.
patchingMode
- the value to setpublic MaintenanceRun.Builder patchFailureCount(Integer patchFailureCount)
Contain the patch failure count.
patchFailureCount
- the value to setpublic MaintenanceRun.Builder targetDbServerVersion(String targetDbServerVersion)
The target software version for the database server patching operation.
targetDbServerVersion
- the value to setpublic MaintenanceRun.Builder targetStorageServerVersion(String targetStorageServerVersion)
The target Cell version that is to be patched to.
targetStorageServerVersion
- the value to setpublic MaintenanceRun.Builder isCustomActionTimeoutEnabled(Boolean isCustomActionTimeoutEnabled)
If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
isCustomActionTimeoutEnabled
- the value to setpublic MaintenanceRun.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.
customActionTimeoutInMins
- the value to setpublic MaintenanceRun.Builder currentCustomActionTimeoutInMins(Integer currentCustomActionTimeoutInMins)
Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
currentCustomActionTimeoutInMins
- the value to setpublic MaintenanceRun.Builder patchingStatus(MaintenanceRun.PatchingStatus patchingStatus)
The status of the patching operation.
patchingStatus
- the value to setpublic MaintenanceRun.Builder patchingStartTime(Date patchingStartTime)
The time when the patching operation started.
patchingStartTime
- the value to setpublic MaintenanceRun.Builder patchingEndTime(Date patchingEndTime)
The time when the patching operation ended.
patchingEndTime
- the value to setpublic MaintenanceRun.Builder estimatedPatchingTime(EstimatedPatchingTime estimatedPatchingTime)
public MaintenanceRun.Builder currentPatchingComponent(String currentPatchingComponent)
The name of the current infrastruture component that is getting patched.
currentPatchingComponent
- the value to setpublic MaintenanceRun.Builder estimatedComponentPatchingStartTime(Date estimatedComponentPatchingStartTime)
The estimated start time of the next infrastruture component patching operation.
estimatedComponentPatchingStartTime
- the value to setpublic MaintenanceRun.Builder databaseSoftwareImageId(String databaseSoftwareImageId)
The Autonomous Database Software Image OCID
databaseSoftwareImageId
- the value to setpublic MaintenanceRun build()
public MaintenanceRun.Builder copy(MaintenanceRun model)
Copyright © 2016–2024. All rights reserved.