public static class SchedulingPlan.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SchedulingPlan |
build() |
SchedulingPlan.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
SchedulingPlan.Builder |
copy(SchedulingPlan model) |
SchedulingPlan.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
SchedulingPlan.Builder |
displayName(String displayName)
The display name of the Scheduling Plan.
|
SchedulingPlan.Builder |
estimatedTimeInMins(Integer estimatedTimeInMins)
The estimated time for the Scheduling Plan.
|
SchedulingPlan.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
SchedulingPlan.Builder |
id(String id)
The OCID of the
Scheduling Plan.
|
SchedulingPlan.Builder |
isUsingRecommendedScheduledActions(Boolean isUsingRecommendedScheduledActions)
If true, recommended scheduled actions will be generated for the scheduling plan.
|
SchedulingPlan.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
SchedulingPlan.Builder |
lifecycleState(SchedulingPlan.LifecycleState lifecycleState)
The current state of the Scheduling Plan.
|
SchedulingPlan.Builder |
planIntent(SchedulingPlan.PlanIntent planIntent)
The current intent the Scheduling Plan.
|
SchedulingPlan.Builder |
resourceId(String resourceId)
The OCID of the
resource.
|
SchedulingPlan.Builder |
schedulingPolicyId(String schedulingPolicyId)
The OCID of the
Scheduling Policy.
|
SchedulingPlan.Builder |
serviceType(SchedulingPlan.ServiceType serviceType)
The service type of the Scheduling Plan.
|
SchedulingPlan.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
SchedulingPlan.Builder |
timeCreated(Date timeCreated)
The date and time the Scheduling Plan Resource was created.
|
SchedulingPlan.Builder |
timeUpdated(Date timeUpdated)
The date and time the Scheduling Plan Resource was updated.
|
public SchedulingPlan.Builder id(String id)
The OCID of the Scheduling Plan.
id
- the value to setpublic SchedulingPlan.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic SchedulingPlan.Builder schedulingPolicyId(String schedulingPolicyId)
The OCID of the Scheduling Policy.
schedulingPolicyId
- the value to setpublic SchedulingPlan.Builder resourceId(String resourceId)
The OCID of the resource.
resourceId
- the value to setpublic SchedulingPlan.Builder displayName(String displayName)
The display name of the Scheduling Plan.
displayName
- the value to setpublic SchedulingPlan.Builder lifecycleState(SchedulingPlan.LifecycleState lifecycleState)
The current state of the Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
lifecycleState
- the value to setpublic SchedulingPlan.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic SchedulingPlan.Builder isUsingRecommendedScheduledActions(Boolean isUsingRecommendedScheduledActions)
If true, recommended scheduled actions will be generated for the scheduling plan.
isUsingRecommendedScheduledActions
- the value to setpublic SchedulingPlan.Builder planIntent(SchedulingPlan.PlanIntent planIntent)
The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
planIntent
- the value to setpublic SchedulingPlan.Builder estimatedTimeInMins(Integer estimatedTimeInMins)
The estimated time for the Scheduling Plan.
estimatedTimeInMins
- the value to setpublic SchedulingPlan.Builder serviceType(SchedulingPlan.ServiceType serviceType)
The service type of the Scheduling Plan.
serviceType
- the value to setpublic SchedulingPlan.Builder timeCreated(Date timeCreated)
The date and time the Scheduling Plan Resource was created.
timeCreated
- the value to setpublic SchedulingPlan.Builder timeUpdated(Date timeUpdated)
The date and time the Scheduling Plan Resource was updated.
timeUpdated
- the value to setpublic SchedulingPlan.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 SchedulingPlan.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 SchedulingPlan.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 SchedulingPlan build()
public SchedulingPlan.Builder copy(SchedulingPlan model)
Copyright © 2016–2024. All rights reserved.