public static class ScheduledAction.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 performed
|
ScheduledAction |
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.
|
public ScheduledAction.Builder id(String id)
The OCID of the Scheduled Action.
id
- the value to setpublic ScheduledAction.Builder schedulingPlanId(String schedulingPlanId)
The OCID of the Scheduling Plan.
schedulingPlanId
- the value to setpublic ScheduledAction.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ScheduledAction.Builder schedulingWindowId(String schedulingWindowId)
The OCID of the Scheduling Window.
schedulingWindowId
- the value to setpublic ScheduledAction.Builder displayName(String displayName)
The display name of the Scheduled Action.
displayName
- the value to setpublic ScheduledAction.Builder actionOrder(Integer actionOrder)
The order of the scheduled action.
actionOrder
- the value to setpublic ScheduledAction.Builder actionType(ScheduledAction.ActionType actionType)
The type of the scheduled action being performed
actionType
- the value to setpublic 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.
lifecycleState
- the value to setpublic ScheduledAction.Builder estimatedTimeInMins(Integer estimatedTimeInMins)
The estimated patching time for the scheduled action.
estimatedTimeInMins
- the value to setpublic ScheduledAction.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 ScheduledAction.Builder actionMembers(List<ActionMember> actionMembers)
The list of action members in a scheduled action.
actionMembers
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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.
definedTags
- the value to setpublic 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.
systemTags
- the value to setpublic ScheduledAction.Builder timeCreated(Date timeCreated)
The date and time the Scheduled Action Resource was created.
timeCreated
- the value to setpublic ScheduledAction.Builder timeUpdated(Date timeUpdated)
The date and time the Scheduled Action Resource was updated.
timeUpdated
- the value to setpublic ScheduledAction build()
public ScheduledAction.Builder copy(ScheduledAction model)
Copyright © 2016–2024. All rights reserved.