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