Package com.oracle.bmc.database.model
Class ExecutionWindowSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.model.ExecutionWindowSummary.Builder
 
- 
- Enclosing class:
- ExecutionWindowSummary
 
 public static class ExecutionWindowSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionWindowSummarybuild()ExecutionWindowSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.ExecutionWindowSummary.Buildercopy(ExecutionWindowSummary model)ExecutionWindowSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ExecutionWindowSummary.Builderdescription(String description)Description of the execution window.ExecutionWindowSummary.BuilderdisplayName(String displayName)The user-friendly name for the execution window.ExecutionWindowSummary.BuilderestimatedTimeInMins(Integer estimatedTimeInMins)The estimated time of the execution window in minutes.ExecutionWindowSummary.BuilderexecutionResourceId(String executionResourceId)The OCID of the execution resource the execution window belongs to.ExecutionWindowSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ExecutionWindowSummary.Builderid(String id)The OCID of the execution window.ExecutionWindowSummary.BuilderisEnforcedDuration(Boolean isEnforcedDuration)Indicates if duration the user plans to allocate for scheduling window is strictly enforced.ExecutionWindowSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.ExecutionWindowSummary.BuilderlifecycleState(ExecutionWindowSummary.LifecycleState lifecycleState)The current state of the Schedule Policy.ExecutionWindowSummary.BuilderlifecycleSubstate(ExecutionWindowSummary.LifecycleSubstate lifecycleSubstate)The current sub-state of the execution window.ExecutionWindowSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ExecutionWindowSummary.BuildertimeCreated(Date timeCreated)The date and time the execution window was created.ExecutionWindowSummary.BuildertimeEnded(Date timeEnded)The date and time that the execution window ended.ExecutionWindowSummary.BuildertimeScheduled(Date timeScheduled)The scheduled start date and time of the execution window.ExecutionWindowSummary.BuildertimeStarted(Date timeStarted)The date and time that the execution window was started.ExecutionWindowSummary.BuildertimeUpdated(Date timeUpdated)The last date and time that the execution window was updated.ExecutionWindowSummary.BuildertotalTimeTakenInMins(Integer totalTimeTakenInMins)The total time taken by corresponding resource activity in minutes.ExecutionWindowSummary.BuilderwindowDurationInMins(Integer windowDurationInMins)Duration window allows user to set a duration they plan to allocate for Scheduling window.ExecutionWindowSummary.BuilderwindowType(ExecutionWindowSummary.WindowType windowType)The execution window is of PLANNED or UNPLANNED type.
 
- 
- 
- 
Method Detail- 
idpublic ExecutionWindowSummary.Builder id(String id) The OCID of the execution window.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
executionResourceIdpublic ExecutionWindowSummary.Builder executionResourceId(String executionResourceId) The OCID of the execution resource the execution window belongs to.- Parameters:
- executionResourceId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ExecutionWindowSummary.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ExecutionWindowSummary.Builder displayName(String displayName) The user-friendly name for the execution window.The name does not need to be unique. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic ExecutionWindowSummary.Builder description(String description) Description of the execution window.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ExecutionWindowSummary.Builder lifecycleState(ExecutionWindowSummary.LifecycleState lifecycleState) The current state of the Schedule Policy.Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleSubstatepublic ExecutionWindowSummary.Builder lifecycleSubstate(ExecutionWindowSummary.LifecycleSubstate lifecycleSubstate) The current sub-state of the execution window.Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING. - Parameters:
- lifecycleSubstate- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic ExecutionWindowSummary.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ExecutionWindowSummary.Builder timeCreated(Date timeCreated) The date and time the execution window was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic ExecutionWindowSummary.Builder timeUpdated(Date timeUpdated) The last date and time that the execution window was updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic ExecutionWindowSummary.Builder timeStarted(Date timeStarted) The date and time that the execution window was started.- Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeEndedpublic ExecutionWindowSummary.Builder timeEnded(Date timeEnded) The date and time that the execution window ended.- Parameters:
- timeEnded- the value to set
- Returns:
- this builder
 
 - 
timeScheduledpublic ExecutionWindowSummary.Builder timeScheduled(Date timeScheduled) The scheduled start date and time of the execution window.- Parameters:
- timeScheduled- the value to set
- Returns:
- this builder
 
 - 
windowDurationInMinspublic ExecutionWindowSummary.Builder windowDurationInMins(Integer windowDurationInMins) Duration window allows user to set a duration they plan to allocate for Scheduling window.The duration is in minutes. - Parameters:
- windowDurationInMins- the value to set
- Returns:
- this builder
 
 - 
isEnforcedDurationpublic ExecutionWindowSummary.Builder isEnforcedDuration(Boolean isEnforcedDuration) Indicates if duration the user plans to allocate for scheduling window is strictly enforced.The default value is FALSE. - Parameters:
- isEnforcedDuration- the value to set
- Returns:
- this builder
 
 - 
estimatedTimeInMinspublic ExecutionWindowSummary.Builder estimatedTimeInMins(Integer estimatedTimeInMins) The estimated time of the execution window in minutes.- Parameters:
- estimatedTimeInMins- the value to set
- Returns:
- this builder
 
 - 
totalTimeTakenInMinspublic ExecutionWindowSummary.Builder totalTimeTakenInMins(Integer totalTimeTakenInMins) The total time taken by corresponding resource activity in minutes.- Parameters:
- totalTimeTakenInMins- the value to set
- Returns:
- this builder
 
 - 
windowTypepublic ExecutionWindowSummary.Builder windowType(ExecutionWindowSummary.WindowType windowType) The execution window is of PLANNED or UNPLANNED type.- Parameters:
- windowType- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ExecutionWindowSummary.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic ExecutionWindowSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic ExecutionWindowSummary.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
 
 - 
buildpublic ExecutionWindowSummary build() 
 - 
copypublic ExecutionWindowSummary.Builder copy(ExecutionWindowSummary model) 
 
- 
 
-