Package com.oracle.bmc.database.model
Class ExecutionAction.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.model.ExecutionAction.Builder
 
- 
- Enclosing class:
- ExecutionAction
 
 public static class ExecutionAction.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionAction.BuilderactionMembers(List<ExecutionActionMember> actionMembers)List of action members of this execution action.ExecutionAction.BuilderactionParams(Map<String,String> actionParams)Map<ParamName, ParamValue> where a key value pair describes the specific action parameter.ExecutionAction.BuilderactionType(ExecutionAction.ActionType actionType)The action type of the execution action being performedExecutionActionbuild()ExecutionAction.BuildercompartmentId(String compartmentId)The OCID of the compartment.ExecutionAction.Buildercopy(ExecutionAction model)ExecutionAction.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ExecutionAction.Builderdescription(String description)Description of the execution action.ExecutionAction.BuilderdisplayName(String displayName)The user-friendly name for the execution action.ExecutionAction.BuilderestimatedTimeInMins(Integer estimatedTimeInMins)The estimated time of the execution action in minutes.ExecutionAction.BuilderexecutionActionOrder(Integer executionActionOrder)The priority order of the execution action.ExecutionAction.BuilderexecutionWindowId(String executionWindowId)The OCID of the execution window resource the execution action belongs to.ExecutionAction.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ExecutionAction.Builderid(String id)The OCID of the execution action.ExecutionAction.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.ExecutionAction.BuilderlifecycleState(ExecutionAction.LifecycleState lifecycleState)The current state of the execution action.ExecutionAction.BuilderlifecycleSubstate(ExecutionAction.LifecycleSubstate lifecycleSubstate)The current sub-state of the execution action.ExecutionAction.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ExecutionAction.BuildertimeCreated(Date timeCreated)The date and time the execution action was created.ExecutionAction.BuildertimeUpdated(Date timeUpdated)The last date and time that the execution action was updated.ExecutionAction.BuildertotalTimeTakenInMins(Integer totalTimeTakenInMins)The total time taken by corresponding resource activity in minutes.
 
- 
- 
- 
Method Detail- 
idpublic ExecutionAction.Builder id(String id) The OCID of the execution action.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
executionWindowIdpublic ExecutionAction.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
 
 - 
compartmentIdpublic ExecutionAction.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ExecutionAction.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
 
 - 
descriptionpublic ExecutionAction.Builder description(String description) Description of the execution action.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic 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. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleSubstatepublic ExecutionAction.Builder lifecycleSubstate(ExecutionAction.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
 
 - 
lifecycleDetailspublic ExecutionAction.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ExecutionAction.Builder timeCreated(Date timeCreated) The date and time the execution action was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic ExecutionAction.Builder timeUpdated(Date timeUpdated) The last date and time that the execution action was updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
estimatedTimeInMinspublic ExecutionAction.Builder estimatedTimeInMins(Integer estimatedTimeInMins) The estimated time of the execution action in minutes.- Parameters:
- estimatedTimeInMins- the value to set
- Returns:
- this builder
 
 - 
totalTimeTakenInMinspublic ExecutionAction.Builder totalTimeTakenInMins(Integer totalTimeTakenInMins) The total time taken by corresponding resource activity in minutes.- Parameters:
- totalTimeTakenInMins- the value to set
- Returns:
- this builder
 
 - 
executionActionOrderpublic ExecutionAction.Builder executionActionOrder(Integer executionActionOrder) The priority order of the execution action.- Parameters:
- executionActionOrder- the value to set
- Returns:
- this builder
 
 - 
actionTypepublic ExecutionAction.Builder actionType(ExecutionAction.ActionType actionType) The action type of the execution action being performed- Parameters:
- actionType- the value to set
- Returns:
- this builder
 
 - 
actionParamspublic ExecutionAction.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
 
 - 
actionMemberspublic ExecutionAction.Builder actionMembers(List<ExecutionActionMember> actionMembers) List of action members of this execution action.- Parameters:
- actionMembers- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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. - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic ExecutionAction.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 ExecutionAction build() 
 - 
copypublic ExecutionAction.Builder copy(ExecutionAction model) 
 
- 
 
-