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