Package com.oracle.bmc.database.model
Class ExecutionActionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.ExecutionActionSummary.Builder
-
- Enclosing class:
- ExecutionActionSummary
public static class ExecutionActionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 performedExecutionActionSummary
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.
-
-
-
Method Detail
-
id
public ExecutionActionSummary.Builder id(String id)
The OCID of the execution action.- Parameters:
id
- the value to set- Returns:
- this builder
-
executionWindowId
public ExecutionActionSummary.Builder executionWindowId(String executionWindowId)
The OCID of the execution window resource the execution action belongs to.- Parameters:
executionWindowId
- the value to set- Returns:
- this builder
-
compartmentId
public ExecutionActionSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public ExecutionActionSummary.Builder displayName(String displayName)
The user-friendly name for the execution action.The name does not need to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public ExecutionActionSummary.Builder description(String description)
Description of the execution action.- Parameters:
description
- the value to set- Returns:
- this builder
-
lifecycleState
public 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.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleSubstate
public ExecutionActionSummary.Builder lifecycleSubstate(ExecutionActionSummary.LifecycleSubstate lifecycleSubstate)
The current sub-state of the execution action.Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- Parameters:
lifecycleSubstate
- the value to set- Returns:
- this builder
-
lifecycleDetails
public ExecutionActionSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public ExecutionActionSummary.Builder timeCreated(Date timeCreated)
The date and time the execution action was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ExecutionActionSummary.Builder timeUpdated(Date timeUpdated)
The last date and time that the execution action was updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
estimatedTimeInMins
public ExecutionActionSummary.Builder estimatedTimeInMins(Integer estimatedTimeInMins)
The estimated time of the execution action in minutes.- Parameters:
estimatedTimeInMins
- the value to set- Returns:
- this builder
-
totalTimeTakenInMins
public ExecutionActionSummary.Builder totalTimeTakenInMins(Integer totalTimeTakenInMins)
The total time taken by corresponding resource activity in minutes.- Parameters:
totalTimeTakenInMins
- the value to set- Returns:
- this builder
-
executionActionOrder
public ExecutionActionSummary.Builder executionActionOrder(Integer executionActionOrder)
The priority order of the execution action.- Parameters:
executionActionOrder
- the value to set- Returns:
- this builder
-
actionType
public ExecutionActionSummary.Builder actionType(ExecutionActionSummary.ActionType actionType)
The action type of the execution action being performed- Parameters:
actionType
- the value to set- Returns:
- this builder
-
actionParams
public ExecutionActionSummary.Builder actionParams(Map<String,String> actionParams)
Map<ParamName, ParamValue> where a key value pair describes the specific action parameter.Example: {“count”: “3”}
- Parameters:
actionParams
- the value to set- Returns:
- this builder
-
actionMembers
public ExecutionActionSummary.Builder actionMembers(List<ExecutionActionMember> actionMembers)
List of action members of this execution action.- Parameters:
actionMembers
- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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.
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public ExecutionActionSummary build()
-
copy
public ExecutionActionSummary.Builder copy(ExecutionActionSummary model)
-
-