Package com.oracle.bmc.database.model
Class CreateSchedulingPlanDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.CreateSchedulingPlanDetails.Builder
-
- Enclosing class:
- CreateSchedulingPlanDetails
public static class CreateSchedulingPlanDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateSchedulingPlanDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
schedulingPolicyId
public CreateSchedulingPlanDetails.Builder schedulingPolicyId(String schedulingPolicyId)
The OCID of the Scheduling Policy.- Parameters:
schedulingPolicyId
- the value to set- Returns:
- this builder
-
resourceId
public CreateSchedulingPlanDetails.Builder resourceId(String resourceId)
The OCID of the resource.- Parameters:
resourceId
- the value to set- Returns:
- this builder
-
serviceType
public CreateSchedulingPlanDetails.Builder serviceType(CreateSchedulingPlanDetails.ServiceType serviceType)
The service type of the Scheduling Plan.- Parameters:
serviceType
- the value to set- Returns:
- this builder
-
isUsingRecommendedScheduledActions
public CreateSchedulingPlanDetails.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
-
freeformTags
public CreateSchedulingPlanDetails.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 CreateSchedulingPlanDetails.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
-
build
public CreateSchedulingPlanDetails build()
-
copy
public CreateSchedulingPlanDetails.Builder copy(CreateSchedulingPlanDetails model)
-
-