Package com.oracle.bmc.database.model
Class SchedulingPolicySummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.model.SchedulingPolicySummary.Builder
 
- 
- Enclosing class:
- SchedulingPolicySummary
 
 public static class SchedulingPolicySummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SchedulingPolicySummarybuild()SchedulingPolicySummary.Buildercadence(SchedulingPolicySummary.Cadence cadence)The cadence period.SchedulingPolicySummary.BuildercadenceStartMonth(Month cadenceStartMonth)Start of the month to be followed during the cadence period.SchedulingPolicySummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.SchedulingPolicySummary.Buildercopy(SchedulingPolicySummary model)SchedulingPolicySummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SchedulingPolicySummary.BuilderdisplayName(String displayName)The user-friendly name for the Scheduling Policy.SchedulingPolicySummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.SchedulingPolicySummary.Builderid(String id)The OCID of the Scheduling Policy.SchedulingPolicySummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.SchedulingPolicySummary.BuilderlifecycleState(SchedulingPolicySummary.LifecycleState lifecycleState)The current state of the Scheduling Policy.SchedulingPolicySummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SchedulingPolicySummary.BuildertimeCreated(Date timeCreated)The date and time the Scheduling Policy was created.SchedulingPolicySummary.BuildertimeNextWindowStarts(Date timeNextWindowStarts)The date and time of the next scheduling window associated with the schedulingPolicy is planned to start.SchedulingPolicySummary.BuildertimeUpdated(Date timeUpdated)The last date and time that the Scheduling Policy was updated.
 
- 
- 
- 
Method Detail- 
idpublic SchedulingPolicySummary.Builder id(String id) The OCID of the Scheduling Policy.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic SchedulingPolicySummary.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic SchedulingPolicySummary.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
 
 - 
lifecycleStatepublic SchedulingPolicySummary.Builder lifecycleState(SchedulingPolicySummary.LifecycleState lifecycleState) The current state of the Scheduling Policy.Valid states are CREATING, NEEDS_ATTENTION, ACTIVE, UPDATING, FAILED, DELETING and DELETED. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic SchedulingPolicySummary.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic SchedulingPolicySummary.Builder timeCreated(Date timeCreated) The date and time the Scheduling Policy was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic SchedulingPolicySummary.Builder timeUpdated(Date timeUpdated) The last date and time that the Scheduling Policy was updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
cadencepublic SchedulingPolicySummary.Builder cadence(SchedulingPolicySummary.Cadence cadence) The cadence period.- Parameters:
- cadence- the value to set
- Returns:
- this builder
 
 - 
cadenceStartMonthpublic SchedulingPolicySummary.Builder cadenceStartMonth(Month cadenceStartMonth) Start of the month to be followed during the cadence period.- Parameters:
- cadenceStartMonth- the value to set
- Returns:
- this builder
 
 - 
timeNextWindowStartspublic SchedulingPolicySummary.Builder timeNextWindowStarts(Date timeNextWindowStarts) The date and time of the next scheduling window associated with the schedulingPolicy is planned to start.- Parameters:
- timeNextWindowStarts- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic SchedulingPolicySummary.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 SchedulingPolicySummary.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 SchedulingPolicySummary.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 SchedulingPolicySummary build() 
 - 
copypublic SchedulingPolicySummary.Builder copy(SchedulingPolicySummary model) 
 
- 
 
-