Class MaintenanceRunSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.MaintenanceRunSummary.Builder
-
- Enclosing class:
- MaintenanceRunSummary
public static class MaintenanceRunSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 OCIDMaintenanceRunSummary.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
peerMaintenanceRunIds(List<String> peerMaintenanceRunIds)
The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.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.
-
-
-
Method Detail
-
id
public MaintenanceRunSummary.Builder id(String id)
The OCID of the maintenance run.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public MaintenanceRunSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public MaintenanceRunSummary.Builder displayName(String displayName)
The user-friendly name for the maintenance run.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public MaintenanceRunSummary.Builder description(String description)
Description of the maintenance run.- Parameters:
description
- the value to set- Returns:
- this builder
-
lifecycleState
public 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.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public MaintenanceRunSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeScheduled
public MaintenanceRunSummary.Builder timeScheduled(Date timeScheduled)
The date and time the maintenance run is scheduled to occur.- Parameters:
timeScheduled
- the value to set- Returns:
- this builder
-
timeStarted
public MaintenanceRunSummary.Builder timeStarted(Date timeStarted)
The date and time the maintenance run starts.- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeEnded
public MaintenanceRunSummary.Builder timeEnded(Date timeEnded)
The date and time the maintenance run was completed.- Parameters:
timeEnded
- the value to set- Returns:
- this builder
-
targetResourceType
public MaintenanceRunSummary.Builder targetResourceType(MaintenanceRunSummary.TargetResourceType targetResourceType)
The type of the target resource on which the maintenance run occurs.- Parameters:
targetResourceType
- the value to set- Returns:
- this builder
-
targetResourceId
public MaintenanceRunSummary.Builder targetResourceId(String targetResourceId)
The ID of the target resource on which the maintenance run occurs.- Parameters:
targetResourceId
- the value to set- Returns:
- this builder
-
maintenanceType
public MaintenanceRunSummary.Builder maintenanceType(MaintenanceRunSummary.MaintenanceType maintenanceType)
Maintenance type.- Parameters:
maintenanceType
- the value to set- Returns:
- this builder
-
patchId
public 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.
- Parameters:
patchId
- the value to set- Returns:
- this builder
-
maintenanceSubtype
public MaintenanceRunSummary.Builder maintenanceSubtype(MaintenanceRunSummary.MaintenanceSubtype maintenanceSubtype)
Maintenance sub-type.- Parameters:
maintenanceSubtype
- the value to set- Returns:
- this builder
-
isDstFileUpdateEnabled
public 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.
- Parameters:
isDstFileUpdateEnabled
- the value to set- Returns:
- this builder
-
peerMaintenanceRunId
public MaintenanceRunSummary.Builder peerMaintenanceRunId(String peerMaintenanceRunId)
The OCID of the maintenance run for the Autonomous Data Guard association’s peer container database.- Parameters:
peerMaintenanceRunId
- the value to set- Returns:
- this builder
-
peerMaintenanceRunIds
public MaintenanceRunSummary.Builder peerMaintenanceRunIds(List<String> peerMaintenanceRunIds)
The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.- Parameters:
peerMaintenanceRunIds
- the value to set- Returns:
- this builder
-
patchingMode
public 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.oracle.com/iaas/Content/Database/Concepts/examaintenance.htm#Oracle) for more information.
- Parameters:
patchingMode
- the value to set- Returns:
- this builder
-
patchFailureCount
public MaintenanceRunSummary.Builder patchFailureCount(Integer patchFailureCount)
Contain the patch failure count.- Parameters:
patchFailureCount
- the value to set- Returns:
- this builder
-
targetDbServerVersion
public MaintenanceRunSummary.Builder targetDbServerVersion(String targetDbServerVersion)
The target software version for the database server patching operation.- Parameters:
targetDbServerVersion
- the value to set- Returns:
- this builder
-
targetStorageServerVersion
public MaintenanceRunSummary.Builder targetStorageServerVersion(String targetStorageServerVersion)
The target Cell version that is to be patched to.- Parameters:
targetStorageServerVersion
- the value to set- Returns:
- this builder
-
isCustomActionTimeoutEnabled
public MaintenanceRunSummary.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 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.
- Parameters:
customActionTimeoutInMins
- the value to set- Returns:
- this builder
-
currentCustomActionTimeoutInMins
public MaintenanceRunSummary.Builder currentCustomActionTimeoutInMins(Integer currentCustomActionTimeoutInMins)
Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.- Parameters:
currentCustomActionTimeoutInMins
- the value to set- Returns:
- this builder
-
patchingStatus
public MaintenanceRunSummary.Builder patchingStatus(MaintenanceRunSummary.PatchingStatus patchingStatus)
The status of the patching operation.- Parameters:
patchingStatus
- the value to set- Returns:
- this builder
-
patchingStartTime
public MaintenanceRunSummary.Builder patchingStartTime(Date patchingStartTime)
The time when the patching operation started.- Parameters:
patchingStartTime
- the value to set- Returns:
- this builder
-
patchingEndTime
public MaintenanceRunSummary.Builder patchingEndTime(Date patchingEndTime)
The time when the patching operation ended.- Parameters:
patchingEndTime
- the value to set- Returns:
- this builder
-
estimatedPatchingTime
public MaintenanceRunSummary.Builder estimatedPatchingTime(EstimatedPatchingTime estimatedPatchingTime)
-
currentPatchingComponent
public MaintenanceRunSummary.Builder currentPatchingComponent(String currentPatchingComponent)
The name of the current infrastruture component that is getting patched.- Parameters:
currentPatchingComponent
- the value to set- Returns:
- this builder
-
estimatedComponentPatchingStartTime
public MaintenanceRunSummary.Builder estimatedComponentPatchingStartTime(Date estimatedComponentPatchingStartTime)
The estimated start time of the next infrastruture component patching operation.- Parameters:
estimatedComponentPatchingStartTime
- the value to set- Returns:
- this builder
-
isMaintenanceRunGranular
public MaintenanceRunSummary.Builder isMaintenanceRunGranular(Boolean isMaintenanceRunGranular)
If FALSE, the maintenance run doesn’t support granular maintenance.- Parameters:
isMaintenanceRunGranular
- the value to set- Returns:
- this builder
-
totalTimeTakenInMins
public MaintenanceRunSummary.Builder totalTimeTakenInMins(Integer totalTimeTakenInMins)
The total time taken by corresponding resource activity in minutes.- Parameters:
totalTimeTakenInMins
- the value to set- Returns:
- this builder
-
databaseSoftwareImageId
public MaintenanceRunSummary.Builder databaseSoftwareImageId(String databaseSoftwareImageId)
The Autonomous Database Software Image OCID- Parameters:
databaseSoftwareImageId
- the value to set- Returns:
- this builder
-
build
public MaintenanceRunSummary build()
-
copy
public MaintenanceRunSummary.Builder copy(MaintenanceRunSummary model)
-
-