public static class MaintenanceRunSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MaintenanceRunSummary |
build() |
MaintenanceRunSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
MaintenanceRunSummary.Builder |
copy(MaintenanceRunSummary model) |
MaintenanceRunSummary.Builder |
currentCustomActionTimeoutInMins(Integer currentCustomActionTimeoutInMins)
Extend current custom action timeout between the current database servers during waiting
state, from 0 (zero) to 30 minutes.
|
MaintenanceRunSummary.Builder |
currentPatchingComponent(String currentPatchingComponent)
The name of the current infrastruture component that is getting patched.
|
MaintenanceRunSummary.Builder |
customActionTimeoutInMins(Integer customActionTimeoutInMins)
Determines the amount of time the system will wait before the start of each database
server patching operation.
|
MaintenanceRunSummary.Builder |
databaseSoftwareImageId(String databaseSoftwareImageId)
The Autonomous Database Software Image
OCID
|
MaintenanceRunSummary.Builder |
description(String description)
Description of the maintenance run.
|
MaintenanceRunSummary.Builder |
displayName(String displayName)
The user-friendly name for the maintenance run.
|
MaintenanceRunSummary.Builder |
estimatedComponentPatchingStartTime(Date estimatedComponentPatchingStartTime)
The estimated start time of the next infrastruture component patching operation.
|
MaintenanceRunSummary.Builder |
estimatedPatchingTime(EstimatedPatchingTime estimatedPatchingTime) |
MaintenanceRunSummary.Builder |
id(String id)
The OCID of the maintenance run.
|
MaintenanceRunSummary.Builder |
isCustomActionTimeoutEnabled(Boolean isCustomActionTimeoutEnabled)
If true, enables the configuration of a custom action timeout (waiting period) between
database servers patching operations.
|
MaintenanceRunSummary.Builder |
isDstFileUpdateEnabled(Boolean isDstFileUpdateEnabled)
Indicates if an automatic DST Time Zone file update is enabled for the Autonomous
Container Database.
|
MaintenanceRunSummary.Builder |
isMaintenanceRunGranular(Boolean isMaintenanceRunGranular)
If
FALSE , the maintenance run doesn’t support granular maintenance. |
MaintenanceRunSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
MaintenanceRunSummary.Builder |
lifecycleState(MaintenanceRunSummary.LifecycleState lifecycleState)
The current state of the maintenance run.
|
MaintenanceRunSummary.Builder |
maintenanceSubtype(MaintenanceRunSummary.MaintenanceSubtype maintenanceSubtype)
Maintenance sub-type.
|
MaintenanceRunSummary.Builder |
maintenanceType(MaintenanceRunSummary.MaintenanceType maintenanceType)
Maintenance type.
|
MaintenanceRunSummary.Builder |
patchFailureCount(Integer patchFailureCount)
Contain the patch failure count.
|
MaintenanceRunSummary.Builder |
patchId(String patchId)
The unique identifier of the patch.
|
MaintenanceRunSummary.Builder |
patchingEndTime(Date patchingEndTime)
The time when the patching operation ended.
|
MaintenanceRunSummary.Builder |
patchingMode(MaintenanceRunSummary.PatchingMode patchingMode)
Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.
|
MaintenanceRunSummary.Builder |
patchingStartTime(Date patchingStartTime)
The time when the patching operation started.
|
MaintenanceRunSummary.Builder |
patchingStatus(MaintenanceRunSummary.PatchingStatus patchingStatus)
The status of the patching operation.
|
MaintenanceRunSummary.Builder |
peerMaintenanceRunId(String peerMaintenanceRunId)
The OCID of the
maintenance run for the Autonomous Data Guard association’s peer container database.
|
MaintenanceRunSummary.Builder |
targetDbServerVersion(String targetDbServerVersion)
The target software version for the database server patching operation.
|
MaintenanceRunSummary.Builder |
targetResourceId(String targetResourceId)
The ID of the target resource on which the maintenance run occurs.
|
MaintenanceRunSummary.Builder |
targetResourceType(MaintenanceRunSummary.TargetResourceType targetResourceType)
The type of the target resource on which the maintenance run occurs.
|
MaintenanceRunSummary.Builder |
targetStorageServerVersion(String targetStorageServerVersion)
The target Cell version that is to be patched to.
|
MaintenanceRunSummary.Builder |
timeEnded(Date timeEnded)
The date and time the maintenance run was completed.
|
MaintenanceRunSummary.Builder |
timeScheduled(Date timeScheduled)
The date and time the maintenance run is scheduled to occur.
|
MaintenanceRunSummary.Builder |
timeStarted(Date timeStarted)
The date and time the maintenance run starts.
|
MaintenanceRunSummary.Builder |
totalTimeTakenInMins(Integer totalTimeTakenInMins)
The total time taken by corresponding resource activity in minutes.
|
public MaintenanceRunSummary.Builder id(String id)
The OCID of the maintenance run.
id
- the value to setpublic MaintenanceRunSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic MaintenanceRunSummary.Builder displayName(String displayName)
The user-friendly name for the maintenance run.
displayName
- the value to setpublic MaintenanceRunSummary.Builder description(String description)
Description of the maintenance run.
description
- the value to setpublic MaintenanceRunSummary.Builder lifecycleState(MaintenanceRunSummary.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 MaintenanceRunSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic MaintenanceRunSummary.Builder timeScheduled(Date timeScheduled)
The date and time the maintenance run is scheduled to occur.
timeScheduled
- the value to setpublic MaintenanceRunSummary.Builder timeStarted(Date timeStarted)
The date and time the maintenance run starts.
timeStarted
- the value to setpublic MaintenanceRunSummary.Builder timeEnded(Date timeEnded)
The date and time the maintenance run was completed.
timeEnded
- the value to setpublic MaintenanceRunSummary.Builder targetResourceType(MaintenanceRunSummary.TargetResourceType targetResourceType)
The type of the target resource on which the maintenance run occurs.
targetResourceType
- the value to setpublic MaintenanceRunSummary.Builder targetResourceId(String targetResourceId)
The ID of the target resource on which the maintenance run occurs.
targetResourceId
- the value to setpublic MaintenanceRunSummary.Builder maintenanceType(MaintenanceRunSummary.MaintenanceType maintenanceType)
Maintenance type.
maintenanceType
- the value to setpublic MaintenanceRunSummary.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 MaintenanceRunSummary.Builder maintenanceSubtype(MaintenanceRunSummary.MaintenanceSubtype maintenanceSubtype)
Maintenance sub-type.
maintenanceSubtype
- the value to setpublic MaintenanceRunSummary.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 MaintenanceRunSummary.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 MaintenanceRunSummary.Builder patchingMode(MaintenanceRunSummary.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 MaintenanceRunSummary.Builder patchFailureCount(Integer patchFailureCount)
Contain the patch failure count.
patchFailureCount
- the value to setpublic MaintenanceRunSummary.Builder targetDbServerVersion(String targetDbServerVersion)
The target software version for the database server patching operation.
targetDbServerVersion
- the value to setpublic MaintenanceRunSummary.Builder targetStorageServerVersion(String targetStorageServerVersion)
The target Cell version that is to be patched to.
targetStorageServerVersion
- the value to setpublic MaintenanceRunSummary.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 MaintenanceRunSummary.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 MaintenanceRunSummary.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 MaintenanceRunSummary.Builder patchingStatus(MaintenanceRunSummary.PatchingStatus patchingStatus)
The status of the patching operation.
patchingStatus
- the value to setpublic MaintenanceRunSummary.Builder patchingStartTime(Date patchingStartTime)
The time when the patching operation started.
patchingStartTime
- the value to setpublic MaintenanceRunSummary.Builder patchingEndTime(Date patchingEndTime)
The time when the patching operation ended.
patchingEndTime
- the value to setpublic MaintenanceRunSummary.Builder estimatedPatchingTime(EstimatedPatchingTime estimatedPatchingTime)
public MaintenanceRunSummary.Builder currentPatchingComponent(String currentPatchingComponent)
The name of the current infrastruture component that is getting patched.
currentPatchingComponent
- the value to setpublic MaintenanceRunSummary.Builder estimatedComponentPatchingStartTime(Date estimatedComponentPatchingStartTime)
The estimated start time of the next infrastruture component patching operation.
estimatedComponentPatchingStartTime
- the value to setpublic MaintenanceRunSummary.Builder isMaintenanceRunGranular(Boolean isMaintenanceRunGranular)
If FALSE
, the maintenance run doesn’t support granular maintenance.
isMaintenanceRunGranular
- the value to setpublic MaintenanceRunSummary.Builder totalTimeTakenInMins(Integer totalTimeTakenInMins)
The total time taken by corresponding resource activity in minutes.
totalTimeTakenInMins
- the value to setpublic MaintenanceRunSummary.Builder databaseSoftwareImageId(String databaseSoftwareImageId)
The Autonomous Database Software Image OCID
databaseSoftwareImageId
- the value to setpublic MaintenanceRunSummary build()
public MaintenanceRunSummary.Builder copy(MaintenanceRunSummary model)
Copyright © 2016–2024. All rights reserved.