Package com.oracle.bmc.database.model
Class CreateSchedulingPolicyDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.CreateSchedulingPolicyDetails.Builder
-
- Enclosing class:
- CreateSchedulingPolicyDetails
public static class CreateSchedulingPolicyDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSchedulingPolicyDetailsbuild()CreateSchedulingPolicyDetails.Buildercadence(CreateSchedulingPolicyDetails.Cadence cadence)The cadence period.CreateSchedulingPolicyDetails.BuildercadenceStartMonth(Month cadenceStartMonth)Start of the month to be followed during the cadence period.CreateSchedulingPolicyDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment.CreateSchedulingPolicyDetails.Buildercopy(CreateSchedulingPolicyDetails model)CreateSchedulingPolicyDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateSchedulingPolicyDetails.BuilderdisplayName(String displayName)The user-friendly name for the Scheduling Policy.CreateSchedulingPolicyDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.
-
-
-
Method Detail
-
compartmentId
public CreateSchedulingPolicyDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public CreateSchedulingPolicyDetails.Builder displayName(String displayName)
The user-friendly name for the Scheduling Policy.The name does not need to be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
cadence
public CreateSchedulingPolicyDetails.Builder cadence(CreateSchedulingPolicyDetails.Cadence cadence)
The cadence period.- Parameters:
cadence- the value to set- Returns:
- this builder
-
cadenceStartMonth
public CreateSchedulingPolicyDetails.Builder cadenceStartMonth(Month cadenceStartMonth)
Start of the month to be followed during the cadence period.- Parameters:
cadenceStartMonth- the value to set- Returns:
- this builder
-
freeformTags
public CreateSchedulingPolicyDetails.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 CreateSchedulingPolicyDetails.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 CreateSchedulingPolicyDetails build()
-
copy
public CreateSchedulingPolicyDetails.Builder copy(CreateSchedulingPolicyDetails model)
-
-