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