Class MaintenanceRunSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.model.MaintenanceRunSummary.Builder
 
- 
- Enclosing class:
- MaintenanceRunSummary
 
 public static class MaintenanceRunSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MaintenanceRunSummarybuild()MaintenanceRunSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.MaintenanceRunSummary.Buildercopy(MaintenanceRunSummary model)MaintenanceRunSummary.BuildercurrentCustomActionTimeoutInMins(Integer currentCustomActionTimeoutInMins)Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.MaintenanceRunSummary.BuildercurrentPatchingComponent(String currentPatchingComponent)The name of the current infrastruture component that is getting patched.MaintenanceRunSummary.BuildercustomActionTimeoutInMins(Integer customActionTimeoutInMins)Determines the amount of time the system will wait before the start of each database server patching operation.MaintenanceRunSummary.BuilderdatabaseSoftwareImageId(String databaseSoftwareImageId)The Autonomous AI Database Software Image OCIDMaintenanceRunSummary.Builderdescription(String description)Description of the maintenance run.MaintenanceRunSummary.BuilderdisplayName(String displayName)The user-friendly name for the maintenance run.MaintenanceRunSummary.BuilderestimatedComponentPatchingStartTime(Date estimatedComponentPatchingStartTime)The estimated start time of the next infrastruture component patching operation.MaintenanceRunSummary.BuilderestimatedPatchingTime(EstimatedPatchingTime estimatedPatchingTime)MaintenanceRunSummary.Builderid(String id)The OCID of the maintenance run.MaintenanceRunSummary.BuilderisCustomActionTimeoutEnabled(Boolean isCustomActionTimeoutEnabled)If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.MaintenanceRunSummary.BuilderisDstFileUpdateEnabled(Boolean isDstFileUpdateEnabled)Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database.MaintenanceRunSummary.BuilderisMaintenanceRunGranular(Boolean isMaintenanceRunGranular)If FALSE, the maintenance run doesn’t support granular maintenance.MaintenanceRunSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.MaintenanceRunSummary.BuilderlifecycleState(MaintenanceRunSummary.LifecycleState lifecycleState)The current state of the maintenance run.MaintenanceRunSummary.BuildermaintenanceSubtype(MaintenanceRunSummary.MaintenanceSubtype maintenanceSubtype)Maintenance sub-type.MaintenanceRunSummary.BuildermaintenanceType(MaintenanceRunSummary.MaintenanceType maintenanceType)Maintenance type.MaintenanceRunSummary.BuilderpatchFailureCount(Integer patchFailureCount)Contain the patch failure count.MaintenanceRunSummary.BuilderpatchId(String patchId)The unique identifier of the patch.MaintenanceRunSummary.BuilderpatchingEndTime(Date patchingEndTime)The time when the patching operation ended.MaintenanceRunSummary.BuilderpatchingMode(MaintenanceRunSummary.PatchingMode patchingMode)Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.MaintenanceRunSummary.BuilderpatchingStartTime(Date patchingStartTime)The time when the patching operation started.MaintenanceRunSummary.BuilderpatchingStatus(MaintenanceRunSummary.PatchingStatus patchingStatus)The status of the patching operation.MaintenanceRunSummary.BuilderpeerMaintenanceRunId(String peerMaintenanceRunId)The OCID of the maintenance run for the Autonomous Data Guard association’s peer container database.MaintenanceRunSummary.BuilderpeerMaintenanceRunIds(List<String> peerMaintenanceRunIds)The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.MaintenanceRunSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.MaintenanceRunSummary.BuildertargetDbServerVersion(String targetDbServerVersion)The target software version for the database server patching operation.MaintenanceRunSummary.BuildertargetResourceId(String targetResourceId)The ID of the target resource on which the maintenance run occurs.MaintenanceRunSummary.BuildertargetResourceType(MaintenanceRunSummary.TargetResourceType targetResourceType)The type of the target resource on which the maintenance run occurs.MaintenanceRunSummary.BuildertargetStorageServerVersion(String targetStorageServerVersion)The target Cell version that is to be patched to.MaintenanceRunSummary.BuildertimeEnded(Date timeEnded)The date and time the maintenance run was completed.MaintenanceRunSummary.BuildertimeScheduled(Date timeScheduled)The date and time the maintenance run is scheduled to occur.MaintenanceRunSummary.BuildertimeStarted(Date timeStarted)The date and time the maintenance run starts.MaintenanceRunSummary.BuildertotalTimeTakenInMins(Integer totalTimeTakenInMins)The total time taken by corresponding resource activity in minutes.
 
- 
- 
- 
Method Detail- 
idpublic MaintenanceRunSummary.Builder id(String id) The OCID of the maintenance run.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic MaintenanceRunSummary.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic MaintenanceRunSummary.Builder displayName(String displayName) The user-friendly name for the maintenance run.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic MaintenanceRunSummary.Builder description(String description) Description of the maintenance run.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic MaintenanceRunSummary.Builder lifecycleState(MaintenanceRunSummary.LifecycleState lifecycleState) The current state of the maintenance run.For Autonomous AI Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic MaintenanceRunSummary.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeScheduledpublic 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
 
 - 
timeStartedpublic MaintenanceRunSummary.Builder timeStarted(Date timeStarted) The date and time the maintenance run starts.- Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeEndedpublic MaintenanceRunSummary.Builder timeEnded(Date timeEnded) The date and time the maintenance run was completed.- Parameters:
- timeEnded- the value to set
- Returns:
- this builder
 
 - 
targetResourceTypepublic 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
 
 - 
targetResourceIdpublic 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
 
 - 
maintenanceTypepublic MaintenanceRunSummary.Builder maintenanceType(MaintenanceRunSummary.MaintenanceType maintenanceType) Maintenance type.- Parameters:
- maintenanceType- the value to set
- Returns:
- this builder
 
 - 
patchIdpublic MaintenanceRunSummary.Builder patchId(String patchId) The unique identifier of the patch.The identifier string includes the patch type, the Oracle AI 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 AI Database 19.9.0.0 that was released October 30, 2020. - Parameters:
- patchId- the value to set
- Returns:
- this builder
 
 - 
maintenanceSubtypepublic MaintenanceRunSummary.Builder maintenanceSubtype(MaintenanceRunSummary.MaintenanceSubtype maintenanceSubtype) Maintenance sub-type.- Parameters:
- maintenanceSubtype- the value to set
- Returns:
- this builder
 
 - 
isDstFileUpdateEnabledpublic 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
 
 - 
peerMaintenanceRunIdpublic 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
 
 - 
peerMaintenanceRunIdspublic 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
 
 - 
patchingModepublic 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
 
 - 
patchFailureCountpublic MaintenanceRunSummary.Builder patchFailureCount(Integer patchFailureCount) Contain the patch failure count.- Parameters:
- patchFailureCount- the value to set
- Returns:
- this builder
 
 - 
targetDbServerVersionpublic MaintenanceRunSummary.Builder targetDbServerVersion(String targetDbServerVersion) The target software version for the database server patching operation.- Parameters:
- targetDbServerVersion- the value to set
- Returns:
- this builder
 
 - 
targetStorageServerVersionpublic MaintenanceRunSummary.Builder targetStorageServerVersion(String targetStorageServerVersion) The target Cell version that is to be patched to.- Parameters:
- targetStorageServerVersion- the value to set
- Returns:
- this builder
 
 - 
isCustomActionTimeoutEnabledpublic 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
 
 - 
customActionTimeoutInMinspublic 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
 
 - 
currentCustomActionTimeoutInMinspublic 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
 
 - 
patchingStatuspublic MaintenanceRunSummary.Builder patchingStatus(MaintenanceRunSummary.PatchingStatus patchingStatus) The status of the patching operation.- Parameters:
- patchingStatus- the value to set
- Returns:
- this builder
 
 - 
patchingStartTimepublic MaintenanceRunSummary.Builder patchingStartTime(Date patchingStartTime) The time when the patching operation started.- Parameters:
- patchingStartTime- the value to set
- Returns:
- this builder
 
 - 
patchingEndTimepublic MaintenanceRunSummary.Builder patchingEndTime(Date patchingEndTime) The time when the patching operation ended.- Parameters:
- patchingEndTime- the value to set
- Returns:
- this builder
 
 - 
estimatedPatchingTimepublic MaintenanceRunSummary.Builder estimatedPatchingTime(EstimatedPatchingTime estimatedPatchingTime) 
 - 
currentPatchingComponentpublic 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
 
 - 
estimatedComponentPatchingStartTimepublic 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
 
 - 
systemTagspublic MaintenanceRunSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
isMaintenanceRunGranularpublic MaintenanceRunSummary.Builder isMaintenanceRunGranular(Boolean isMaintenanceRunGranular) If FALSE, the maintenance run doesn’t support granular maintenance.- Parameters:
- isMaintenanceRunGranular- the value to set
- Returns:
- this builder
 
 - 
totalTimeTakenInMinspublic MaintenanceRunSummary.Builder totalTimeTakenInMins(Integer totalTimeTakenInMins) The total time taken by corresponding resource activity in minutes.- Parameters:
- totalTimeTakenInMins- the value to set
- Returns:
- this builder
 
 - 
databaseSoftwareImageIdpublic MaintenanceRunSummary.Builder databaseSoftwareImageId(String databaseSoftwareImageId) The Autonomous AI Database Software Image OCID- Parameters:
- databaseSoftwareImageId- the value to set
- Returns:
- this builder
 
 - 
buildpublic MaintenanceRunSummary build() 
 - 
copypublic MaintenanceRunSummary.Builder copy(MaintenanceRunSummary model) 
 
- 
 
-