Package com.oracle.bmc.database.model
Class SchedulingPlanSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.SchedulingPlanSummary.Builder
-
- Enclosing class:
- SchedulingPlanSummary
public static class SchedulingPlanSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchedulingPlanSummarybuild()SchedulingPlanSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.SchedulingPlanSummary.Buildercopy(SchedulingPlanSummary model)SchedulingPlanSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SchedulingPlanSummary.BuilderdisplayName(String displayName)The display name of the Scheduling Plan.SchedulingPlanSummary.BuilderestimatedTimeInMins(Integer estimatedTimeInMins)The estimated time for the Scheduling Plan.SchedulingPlanSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.SchedulingPlanSummary.Builderid(String id)The OCID of the Scheduling Plan.SchedulingPlanSummary.BuilderisUsingRecommendedScheduledActions(Boolean isUsingRecommendedScheduledActions)If true, recommended scheduled actions will be generated for the scheduling plan.SchedulingPlanSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.SchedulingPlanSummary.BuilderlifecycleState(SchedulingPlanSummary.LifecycleState lifecycleState)The current state of the Scheduling Plan.SchedulingPlanSummary.BuilderplanIntent(SchedulingPlanSummary.PlanIntent planIntent)The current intent the Scheduling Plan.SchedulingPlanSummary.BuilderresourceId(String resourceId)The OCID of the resource.SchedulingPlanSummary.BuilderschedulingPolicyId(String schedulingPolicyId)The OCID of the Scheduling Policy.SchedulingPlanSummary.BuilderserviceType(SchedulingPlanSummary.ServiceType serviceType)The service type of the Scheduling Plan.SchedulingPlanSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SchedulingPlanSummary.BuildertimeCreated(Date timeCreated)The date and time the Scheduling Plan Resource was created.SchedulingPlanSummary.BuildertimeUpdated(Date timeUpdated)The date and time the Scheduling Plan Resource was updated.
-
-
-
Method Detail
-
id
public SchedulingPlanSummary.Builder id(String id)
The OCID of the Scheduling Plan.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public SchedulingPlanSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
schedulingPolicyId
public SchedulingPlanSummary.Builder schedulingPolicyId(String schedulingPolicyId)
The OCID of the Scheduling Policy.- Parameters:
schedulingPolicyId- the value to set- Returns:
- this builder
-
resourceId
public SchedulingPlanSummary.Builder resourceId(String resourceId)
The OCID of the resource.- Parameters:
resourceId- the value to set- Returns:
- this builder
-
displayName
public SchedulingPlanSummary.Builder displayName(String displayName)
The display name of the Scheduling Plan.- Parameters:
displayName- the value to set- Returns:
- this builder
-
lifecycleState
public 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.
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public SchedulingPlanSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
isUsingRecommendedScheduledActions
public SchedulingPlanSummary.Builder isUsingRecommendedScheduledActions(Boolean isUsingRecommendedScheduledActions)
If true, recommended scheduled actions will be generated for the scheduling plan.- Parameters:
isUsingRecommendedScheduledActions- the value to set- Returns:
- this builder
-
planIntent
public SchedulingPlanSummary.Builder planIntent(SchedulingPlanSummary.PlanIntent planIntent)
The current intent the Scheduling Plan.Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE.
- Parameters:
planIntent- the value to set- Returns:
- this builder
-
estimatedTimeInMins
public SchedulingPlanSummary.Builder estimatedTimeInMins(Integer estimatedTimeInMins)
The estimated time for the Scheduling Plan.- Parameters:
estimatedTimeInMins- the value to set- Returns:
- this builder
-
serviceType
public SchedulingPlanSummary.Builder serviceType(SchedulingPlanSummary.ServiceType serviceType)
The service type of the Scheduling Plan.- Parameters:
serviceType- the value to set- Returns:
- this builder
-
timeCreated
public SchedulingPlanSummary.Builder timeCreated(Date timeCreated)
The date and time the Scheduling Plan Resource was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public SchedulingPlanSummary.Builder timeUpdated(Date timeUpdated)
The date and time the Scheduling Plan Resource was updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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.
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public 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.
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public SchedulingPlanSummary build()
-
copy
public SchedulingPlanSummary.Builder copy(SchedulingPlanSummary model)
-
-