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