Package com.oracle.bmc.database.model
Class ScheduledAction.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.ScheduledAction.Builder
-
- Enclosing class:
- ScheduledAction
public static class ScheduledAction.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduledAction.Builder
actionMembers(List<ActionMember> actionMembers)
The list of action members in a scheduled action.ScheduledAction.Builder
actionOrder(Integer actionOrder)
The order of the scheduled action.ScheduledAction.Builder
actionParams(Map<String,String> actionParams)
Map<ParamName, ParamValue> where a key value pair describes the specific action parameter.ScheduledAction.Builder
actionType(ScheduledAction.ActionType actionType)
The type of the scheduled action being performedScheduledAction
build()
ScheduledAction.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ScheduledAction.Builder
copy(ScheduledAction model)
ScheduledAction.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ScheduledAction.Builder
displayName(String displayName)
The display name of the Scheduled Action.ScheduledAction.Builder
estimatedTimeInMins(Integer estimatedTimeInMins)
The estimated patching time for the scheduled action.ScheduledAction.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ScheduledAction.Builder
id(String id)
The OCID of the Scheduled Action.ScheduledAction.Builder
lifecycleState(ScheduledAction.LifecycleState lifecycleState)
The current state of the Scheduled Action.ScheduledAction.Builder
schedulingPlanId(String schedulingPlanId)
The OCID of the Scheduling Plan.ScheduledAction.Builder
schedulingWindowId(String schedulingWindowId)
The OCID of the Scheduling Window.ScheduledAction.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.ScheduledAction.Builder
timeCreated(Date timeCreated)
The date and time the Scheduled Action Resource was created.ScheduledAction.Builder
timeUpdated(Date timeUpdated)
The date and time the Scheduled Action Resource was updated.
-
-
-
Method Detail
-
id
public ScheduledAction.Builder id(String id)
The OCID of the Scheduled Action.- Parameters:
id
- the value to set- Returns:
- this builder
-
schedulingPlanId
public ScheduledAction.Builder schedulingPlanId(String schedulingPlanId)
The OCID of the Scheduling Plan.- Parameters:
schedulingPlanId
- the value to set- Returns:
- this builder
-
compartmentId
public ScheduledAction.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
schedulingWindowId
public ScheduledAction.Builder schedulingWindowId(String schedulingWindowId)
The OCID of the Scheduling Window.- Parameters:
schedulingWindowId
- the value to set- Returns:
- this builder
-
displayName
public ScheduledAction.Builder displayName(String displayName)
The display name of the Scheduled Action.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
actionOrder
public ScheduledAction.Builder actionOrder(Integer actionOrder)
The order of the scheduled action.- Parameters:
actionOrder
- the value to set- Returns:
- this builder
-
actionType
public ScheduledAction.Builder actionType(ScheduledAction.ActionType actionType)
The type of the scheduled action being performed- Parameters:
actionType
- the value to set- Returns:
- this builder
-
lifecycleState
public ScheduledAction.Builder lifecycleState(ScheduledAction.LifecycleState lifecycleState)
The current state of the Scheduled Action.Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
estimatedTimeInMins
public ScheduledAction.Builder estimatedTimeInMins(Integer estimatedTimeInMins)
The estimated patching time for the scheduled action.- Parameters:
estimatedTimeInMins
- the value to set- Returns:
- this builder
-
actionParams
public ScheduledAction.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 ScheduledAction.Builder actionMembers(List<ActionMember> actionMembers)
The list of action members in a scheduled action.- Parameters:
actionMembers
- the value to set- Returns:
- this builder
-
freeformTags
public ScheduledAction.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 ScheduledAction.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
-
systemTags
public ScheduledAction.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
-
timeCreated
public ScheduledAction.Builder timeCreated(Date timeCreated)
The date and time the Scheduled Action Resource was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ScheduledAction.Builder timeUpdated(Date timeUpdated)
The date and time the Scheduled Action Resource was updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
build
public ScheduledAction build()
-
copy
public ScheduledAction.Builder copy(ScheduledAction model)
-
-