Package com.oracle.bmc.datacc.model
Class MaintenanceRunSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datacc.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 MaintenanceRunSummarybuild()MaintenanceRunSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.MaintenanceRunSummary.Buildercopy(MaintenanceRunSummary model)MaintenanceRunSummary.BuildercurrentPatchingComponent(String currentPatchingComponent)The name of the current infrastructure component that is getting patched.MaintenanceRunSummary.BuildercustomActionTimeoutInMins(Integer customActionTimeoutInMins)Determines the amount of time the system will wait before the start of each compute server patching operation.MaintenanceRunSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MaintenanceRunSummary.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 infrastructure component patching operation.MaintenanceRunSummary.BuilderestimatedPatchingTime(Integer estimatedPatchingTime)The estimated total time required in minutes for all patching operations (compute servers, storage).MaintenanceRunSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.MaintenanceRunSummary.Builderid(String id)The OCID of the maintenance run.MaintenanceRunSummary.BuilderinfrastructureId(String infrastructureId)The OCID of the Database Infrastructure on which the maintenance run execution occurs.MaintenanceRunSummary.BuilderinitialScheduledTime(Date initialScheduledTime)The date and time the maintenance run was originally scheduled.MaintenanceRunSummary.BuilderisCustomActionTimeoutEnabled(Boolean isCustomActionTimeoutEnabled)If true, enables the configuration of a custom action timeout (waiting period) between compute servers patching operations.MaintenanceRunSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.MaintenanceRunSummary.BuilderlifecycleState(MaintenanceRunLifecycleState lifecycleState)The current state of the maintenance run.MaintenanceRunSummary.BuildermaintenanceSubtype(MaintenanceSubtypeEnum maintenanceSubtype)Maintenance run sub-type.MaintenanceRunSummary.BuildermaintenanceType(MaintenanceTypeEnum maintenanceType)Maintenance type.MaintenanceRunSummary.BuilderpatchFailureCount(Integer patchFailureCount)Contain the patch failure count.MaintenanceRunSummary.BuilderpatchIdentifier(String patchIdentifier)The unique identifier of the patch.MaintenanceRunSummary.BuilderpatchingEndTime(Date patchingEndTime)The time when the patching operation ended.MaintenanceRunSummary.BuilderpatchingMode(PatchingModeEnum patchingMode)Database Infrastructure patching mode, either “ROLLING” or “NONROLLING”.MaintenanceRunSummary.BuilderpatchingStartTime(Date patchingStartTime)The time when the patching operation started.MaintenanceRunSummary.BuilderpatchingStatus(PatchingStatusEnum patchingStatus)The status of the patching operation.MaintenanceRunSummary.BuildersourceVersion(String sourceVersion)The source software version for the Database Infrastructure.MaintenanceRunSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.MaintenanceRunSummary.BuildertargetResourceType(TargetResourceTypeEnum targetResourceType)The type of the target resource on which the maintenance run occurs.MaintenanceRunSummary.BuildertargetVersion(String targetVersion)The target software version for the Database Infrastructure patching operation.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
-
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(MaintenanceRunLifecycleState lifecycleState)
The current state of the maintenance run.- 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
-
initialScheduledTime
public MaintenanceRunSummary.Builder initialScheduledTime(Date initialScheduledTime)
The date and time the maintenance run was originally scheduled.- Parameters:
initialScheduledTime- 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(TargetResourceTypeEnum targetResourceType)
The type of the target resource on which the maintenance run occurs.- Parameters:
targetResourceType- the value to set- Returns:
- this builder
-
infrastructureId
public MaintenanceRunSummary.Builder infrastructureId(String infrastructureId)
The OCID of the Database Infrastructure on which the maintenance run execution occurs.- Parameters:
infrastructureId- the value to set- Returns:
- this builder
-
maintenanceType
public MaintenanceRunSummary.Builder maintenanceType(MaintenanceTypeEnum maintenanceType)
Maintenance type.- Parameters:
maintenanceType- the value to set- Returns:
- this builder
-
patchIdentifier
public MaintenanceRunSummary.Builder patchIdentifier(String patchIdentifier)
The unique identifier of the patch.The identifier string includes the patch type and the version of the Database Infrastructure.
- Parameters:
patchIdentifier- the value to set- Returns:
- this builder
-
maintenanceSubtype
public MaintenanceRunSummary.Builder maintenanceSubtype(MaintenanceSubtypeEnum maintenanceSubtype)
Maintenance run sub-type.- Parameters:
maintenanceSubtype- the value to set- Returns:
- this builder
-
patchingMode
public MaintenanceRunSummary.Builder patchingMode(PatchingModeEnum patchingMode)
Database Infrastructure patching mode, either “ROLLING” or “NONROLLING”.Default value is ROLLING.
- 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
-
sourceVersion
public MaintenanceRunSummary.Builder sourceVersion(String sourceVersion)
The source software version for the Database Infrastructure.- Parameters:
sourceVersion- the value to set- Returns:
- this builder
-
targetVersion
public MaintenanceRunSummary.Builder targetVersion(String targetVersion)
The target software version for the Database Infrastructure patching operation.- Parameters:
targetVersion- 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 compute 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 compute server patching operation.Supported values are 15 to 120 minutes.
- Parameters:
customActionTimeoutInMins- the value to set- Returns:
- this builder
-
patchingStatus
public MaintenanceRunSummary.Builder patchingStatus(PatchingStatusEnum 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(Integer estimatedPatchingTime)
The estimated total time required in minutes for all patching operations (compute servers, storage).- Parameters:
estimatedPatchingTime- the value to set- Returns:
- this builder
-
currentPatchingComponent
public MaintenanceRunSummary.Builder currentPatchingComponent(String currentPatchingComponent)
The name of the current infrastructure 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 infrastructure component patching operation.- Parameters:
estimatedComponentPatchingStartTime- the value to set- Returns:
- this builder
-
systemTags
public MaintenanceRunSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
definedTags
public MaintenanceRunSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
freeformTags
public MaintenanceRunSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.This tag option exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- 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
-
build
public MaintenanceRunSummary build()
-
copy
public MaintenanceRunSummary.Builder copy(MaintenanceRunSummary model)
-
-