Package com.oracle.bmc.datacc.model
Class MaintenanceExecutionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datacc.model.MaintenanceExecutionSummary.Builder
-
- Enclosing class:
- MaintenanceExecutionSummary
public static class MaintenanceExecutionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MaintenanceExecutionSummarybuild()MaintenanceExecutionSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.MaintenanceExecutionSummary.Buildercopy(MaintenanceExecutionSummary model)MaintenanceExecutionSummary.BuildercustomActionTimeoutInMins(Integer customActionTimeoutInMins)Determines the amount of time the system will wait before the start of each compute server patching operation.MaintenanceExecutionSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MaintenanceExecutionSummary.Builderdescription(String description)Description of the maintenance run execution.MaintenanceExecutionSummary.BuilderdisplayName(String displayName)The user-friendly name for the maintenance run execution.MaintenanceExecutionSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.MaintenanceExecutionSummary.Builderid(String id)The OCID of the maintenance run execution.MaintenanceExecutionSummary.BuilderinfrastructureId(String infrastructureId)The OCID of the Database Infrastructure on which the maintenance run execution occurred.MaintenanceExecutionSummary.BuilderisCustomActionTimeoutEnabled(Boolean isCustomActionTimeoutEnabled)At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.MaintenanceExecutionSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.MaintenanceExecutionSummary.BuilderlifecycleState(MaintenanceRunLifecycleState lifecycleState)The state of the maintenance run execution.MaintenanceExecutionSummary.BuildermaintenanceRunId(String maintenanceRunId)The OCID of the maintenance run to which this maintenance execution belongs.MaintenanceExecutionSummary.BuildermaintenanceSubtype(MaintenanceSubtypeEnum maintenanceSubtype)Maintenance run execution sub-type.MaintenanceExecutionSummary.BuildermaintenanceType(MaintenanceTypeEnum maintenanceType)Maintenance type.MaintenanceExecutionSummary.BuilderpatchingMode(PatchingModeEnum patchingMode)The patching mode for the maintenance run that is being executed.MaintenanceExecutionSummary.BuildersourceVersion(String sourceVersion)The source software version for the Oracle infrastructure.MaintenanceExecutionSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.MaintenanceExecutionSummary.BuildertargetResourceType(TargetResourceTypeEnum targetResourceType)The type of the target resource on which the maintenance run execution occurred.MaintenanceExecutionSummary.BuildertargetVersion(String targetVersion)The target software version for the Database Infrastructure patching operation.MaintenanceExecutionSummary.BuildertimeEnded(Date timeEnded)The date and time the maintenance run was completed.MaintenanceExecutionSummary.BuildertimeStarted(Date timeStarted)The date and time the maintenance run execution started.MaintenanceExecutionSummary.BuildertotalTimeTakenInMins(Integer totalTimeTakenInMins)The total time taken by this execution in minutes.MaintenanceExecutionSummary.BuilderworkflowId(String workflowId)The OCID of the work request executed by this execution.
-
-
-
Method Detail
-
id
public MaintenanceExecutionSummary.Builder id(String id)
The OCID of the maintenance run execution.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public MaintenanceExecutionSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public MaintenanceExecutionSummary.Builder displayName(String displayName)
The user-friendly name for the maintenance run execution.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public MaintenanceExecutionSummary.Builder description(String description)
Description of the maintenance run execution.- Parameters:
description- the value to set- Returns:
- this builder
-
lifecycleState
public MaintenanceExecutionSummary.Builder lifecycleState(MaintenanceRunLifecycleState lifecycleState)
The state of the maintenance run execution.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public MaintenanceExecutionSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeStarted
public MaintenanceExecutionSummary.Builder timeStarted(Date timeStarted)
The date and time the maintenance run execution started.- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeEnded
public MaintenanceExecutionSummary.Builder timeEnded(Date timeEnded)
The date and time the maintenance run was completed.- Parameters:
timeEnded- the value to set- Returns:
- this builder
-
targetResourceType
public MaintenanceExecutionSummary.Builder targetResourceType(TargetResourceTypeEnum targetResourceType)
The type of the target resource on which the maintenance run execution occurred.- Parameters:
targetResourceType- the value to set- Returns:
- this builder
-
infrastructureId
public MaintenanceExecutionSummary.Builder infrastructureId(String infrastructureId)
The OCID of the Database Infrastructure on which the maintenance run execution occurred.- Parameters:
infrastructureId- the value to set- Returns:
- this builder
-
maintenanceRunId
public MaintenanceExecutionSummary.Builder maintenanceRunId(String maintenanceRunId)
The OCID of the maintenance run to which this maintenance execution belongs.- Parameters:
maintenanceRunId- the value to set- Returns:
- this builder
-
maintenanceType
public MaintenanceExecutionSummary.Builder maintenanceType(MaintenanceTypeEnum maintenanceType)
Maintenance type.- Parameters:
maintenanceType- the value to set- Returns:
- this builder
-
maintenanceSubtype
public MaintenanceExecutionSummary.Builder maintenanceSubtype(MaintenanceSubtypeEnum maintenanceSubtype)
Maintenance run execution sub-type.- Parameters:
maintenanceSubtype- the value to set- Returns:
- this builder
-
patchingMode
public MaintenanceExecutionSummary.Builder patchingMode(PatchingModeEnum patchingMode)
The patching mode for the maintenance run that is being executed.- Parameters:
patchingMode- the value to set- Returns:
- this builder
-
sourceVersion
public MaintenanceExecutionSummary.Builder sourceVersion(String sourceVersion)
The source software version for the Oracle infrastructure.- Parameters:
sourceVersion- the value to set- Returns:
- this builder
-
targetVersion
public MaintenanceExecutionSummary.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 MaintenanceExecutionSummary.Builder isCustomActionTimeoutEnabled(Boolean isCustomActionTimeoutEnabled)
At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.- Parameters:
isCustomActionTimeoutEnabled- the value to set- Returns:
- this builder
-
customActionTimeoutInMins
public MaintenanceExecutionSummary.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
-
workflowId
public MaintenanceExecutionSummary.Builder workflowId(String workflowId)
The OCID of the work request executed by this execution.- Parameters:
workflowId- the value to set- Returns:
- this builder
-
systemTags
public MaintenanceExecutionSummary.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 MaintenanceExecutionSummary.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 MaintenanceExecutionSummary.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 MaintenanceExecutionSummary.Builder totalTimeTakenInMins(Integer totalTimeTakenInMins)
The total time taken by this execution in minutes.- Parameters:
totalTimeTakenInMins- the value to set- Returns:
- this builder
-
build
public MaintenanceExecutionSummary build()
-
copy
public MaintenanceExecutionSummary.Builder copy(MaintenanceExecutionSummary model)
-
-