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