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