public static class ExecutionAction.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExecutionAction.Builder |
actionMembers(List<ExecutionActionMember> actionMembers)
List of action members of this execution action.
|
ExecutionAction.Builder |
actionParams(Map<String,String> actionParams)
Map<ParamName, ParamValue> where a key value pair describes the specific action
parameter.
|
ExecutionAction.Builder |
actionType(ExecutionAction.ActionType actionType)
The action type of the execution action being performed
|
ExecutionAction |
build() |
ExecutionAction.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
ExecutionAction.Builder |
copy(ExecutionAction model) |
ExecutionAction.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ExecutionAction.Builder |
description(String description)
Description of the execution action.
|
ExecutionAction.Builder |
displayName(String displayName)
The user-friendly name for the execution action.
|
ExecutionAction.Builder |
estimatedTimeInMins(Integer estimatedTimeInMins)
The estimated time of the execution action in minutes.
|
ExecutionAction.Builder |
executionActionOrder(Integer executionActionOrder)
The priority order of the execution action.
|
ExecutionAction.Builder |
executionWindowId(String executionWindowId)
The OCID of the
execution window resource the execution action belongs to.
|
ExecutionAction.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ExecutionAction.Builder |
id(String id)
The OCID of the
execution action.
|
ExecutionAction.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
ExecutionAction.Builder |
lifecycleState(ExecutionAction.LifecycleState lifecycleState)
The current state of the execution action.
|
ExecutionAction.Builder |
lifecycleSubstate(ExecutionAction.LifecycleSubstate lifecycleSubstate)
The current sub-state of the execution action.
|
ExecutionAction.Builder |
timeCreated(Date timeCreated)
The date and time the execution action was created.
|
ExecutionAction.Builder |
timeUpdated(Date timeUpdated)
The last date and time that the execution action was updated.
|
ExecutionAction.Builder |
totalTimeTakenInMins(Integer totalTimeTakenInMins)
The total time taken by corresponding resource activity in minutes.
|
public ExecutionAction.Builder id(String id)
The OCID of the execution action.
id
- the value to setpublic ExecutionAction.Builder executionWindowId(String executionWindowId)
The OCID of the execution window resource the execution action belongs to.
executionWindowId
- the value to setpublic ExecutionAction.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ExecutionAction.Builder displayName(String displayName)
The user-friendly name for the execution action. The name does not need to be unique.
displayName
- the value to setpublic ExecutionAction.Builder description(String description)
Description of the execution action.
description
- the value to setpublic ExecutionAction.Builder lifecycleState(ExecutionAction.LifecycleState lifecycleState)
The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
lifecycleState
- the value to setpublic ExecutionAction.Builder lifecycleSubstate(ExecutionAction.LifecycleSubstate lifecycleSubstate)
The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
lifecycleSubstate
- the value to setpublic ExecutionAction.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic ExecutionAction.Builder timeCreated(Date timeCreated)
The date and time the execution action was created.
timeCreated
- the value to setpublic ExecutionAction.Builder timeUpdated(Date timeUpdated)
The last date and time that the execution action was updated.
timeUpdated
- the value to setpublic ExecutionAction.Builder estimatedTimeInMins(Integer estimatedTimeInMins)
The estimated time of the execution action in minutes.
estimatedTimeInMins
- the value to setpublic ExecutionAction.Builder totalTimeTakenInMins(Integer totalTimeTakenInMins)
The total time taken by corresponding resource activity in minutes.
totalTimeTakenInMins
- the value to setpublic ExecutionAction.Builder executionActionOrder(Integer executionActionOrder)
The priority order of the execution action.
executionActionOrder
- the value to setpublic ExecutionAction.Builder actionType(ExecutionAction.ActionType actionType)
The action type of the execution action being performed
actionType
- the value to setpublic ExecutionAction.Builder actionParams(Map<String,String> actionParams)
Map<ParamName, ParamValue> where a key value pair describes the specific action
parameter. Example: {"count": "3"}
actionParams
- the value to setpublic ExecutionAction.Builder actionMembers(List<ExecutionActionMember> actionMembers)
List of action members of this execution action.
actionMembers
- the value to setpublic ExecutionAction.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 ExecutionAction.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 ExecutionAction build()
public ExecutionAction.Builder copy(ExecutionAction model)
Copyright © 2016–2024. All rights reserved.