public static class ExecutionWindowSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExecutionWindowSummary |
build() |
ExecutionWindowSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
ExecutionWindowSummary.Builder |
copy(ExecutionWindowSummary model) |
ExecutionWindowSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ExecutionWindowSummary.Builder |
description(String description)
Description of the execution window.
|
ExecutionWindowSummary.Builder |
displayName(String displayName)
The user-friendly name for the execution window.
|
ExecutionWindowSummary.Builder |
estimatedTimeInMins(Integer estimatedTimeInMins)
The estimated time of the execution window in minutes.
|
ExecutionWindowSummary.Builder |
executionResourceId(String executionResourceId)
The OCID of the
execution resource the execution window belongs to.
|
ExecutionWindowSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ExecutionWindowSummary.Builder |
id(String id)
The OCID of the
execution window.
|
ExecutionWindowSummary.Builder |
isEnforcedDuration(Boolean isEnforcedDuration)
Indicates if duration the user plans to allocate for scheduling window is strictly
enforced.
|
ExecutionWindowSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
ExecutionWindowSummary.Builder |
lifecycleState(ExecutionWindowSummary.LifecycleState lifecycleState)
The current state of the Schedule Policy.
|
ExecutionWindowSummary.Builder |
lifecycleSubstate(ExecutionWindowSummary.LifecycleSubstate lifecycleSubstate)
The current sub-state of the execution window.
|
ExecutionWindowSummary.Builder |
timeCreated(Date timeCreated)
The date and time the execution window was created.
|
ExecutionWindowSummary.Builder |
timeEnded(Date timeEnded)
The date and time that the execution window ended.
|
ExecutionWindowSummary.Builder |
timeScheduled(Date timeScheduled)
The scheduled start date and time of the execution window.
|
ExecutionWindowSummary.Builder |
timeStarted(Date timeStarted)
The date and time that the execution window was started.
|
ExecutionWindowSummary.Builder |
timeUpdated(Date timeUpdated)
The last date and time that the execution window was updated.
|
ExecutionWindowSummary.Builder |
totalTimeTakenInMins(Integer totalTimeTakenInMins)
The total time taken by corresponding resource activity in minutes.
|
ExecutionWindowSummary.Builder |
windowDurationInMins(Integer windowDurationInMins)
Duration window allows user to set a duration they plan to allocate for Scheduling
window.
|
ExecutionWindowSummary.Builder |
windowType(ExecutionWindowSummary.WindowType windowType)
The execution window is of PLANNED or UNPLANNED type.
|
public ExecutionWindowSummary.Builder id(String id)
The OCID of the execution window.
id
- the value to setpublic ExecutionWindowSummary.Builder executionResourceId(String executionResourceId)
The OCID of the execution resource the execution window belongs to.
executionResourceId
- the value to setpublic ExecutionWindowSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ExecutionWindowSummary.Builder displayName(String displayName)
The user-friendly name for the execution window. The name does not need to be unique.
displayName
- the value to setpublic ExecutionWindowSummary.Builder description(String description)
Description of the execution window.
description
- the value to setpublic 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.
lifecycleState
- the value to setpublic ExecutionWindowSummary.Builder lifecycleSubstate(ExecutionWindowSummary.LifecycleSubstate lifecycleSubstate)
The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
lifecycleSubstate
- the value to setpublic ExecutionWindowSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic ExecutionWindowSummary.Builder timeCreated(Date timeCreated)
The date and time the execution window was created.
timeCreated
- the value to setpublic ExecutionWindowSummary.Builder timeUpdated(Date timeUpdated)
The last date and time that the execution window was updated.
timeUpdated
- the value to setpublic ExecutionWindowSummary.Builder timeStarted(Date timeStarted)
The date and time that the execution window was started.
timeStarted
- the value to setpublic ExecutionWindowSummary.Builder timeEnded(Date timeEnded)
The date and time that the execution window ended.
timeEnded
- the value to setpublic ExecutionWindowSummary.Builder timeScheduled(Date timeScheduled)
The scheduled start date and time of the execution window.
timeScheduled
- the value to setpublic 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.
windowDurationInMins
- the value to setpublic ExecutionWindowSummary.Builder isEnforcedDuration(Boolean isEnforcedDuration)
Indicates if duration the user plans to allocate for scheduling window is strictly
enforced. The default value is FALSE
.
isEnforcedDuration
- the value to setpublic ExecutionWindowSummary.Builder estimatedTimeInMins(Integer estimatedTimeInMins)
The estimated time of the execution window in minutes.
estimatedTimeInMins
- the value to setpublic ExecutionWindowSummary.Builder totalTimeTakenInMins(Integer totalTimeTakenInMins)
The total time taken by corresponding resource activity in minutes.
totalTimeTakenInMins
- the value to setpublic ExecutionWindowSummary.Builder windowType(ExecutionWindowSummary.WindowType windowType)
The execution window is of PLANNED or UNPLANNED type.
windowType
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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.
definedTags
- the value to setpublic ExecutionWindowSummary build()
public ExecutionWindowSummary.Builder copy(ExecutionWindowSummary model)
Copyright © 2016–2024. All rights reserved.