Package com.oracle.bmc.database.model
Class SchedulingWindow.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.model.SchedulingWindow.Builder
 
- 
- Enclosing class:
- SchedulingWindow
 
 public static class SchedulingWindow.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SchedulingWindowbuild()SchedulingWindow.BuildercompartmentId(String compartmentId)The OCID of the compartment.SchedulingWindow.Buildercopy(SchedulingWindow model)SchedulingWindow.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SchedulingWindow.BuilderdisplayName(String displayName)The user-friendly name for the Scheduling Window.SchedulingWindow.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.SchedulingWindow.Builderid(String id)The OCID of the Scheduling Window.SchedulingWindow.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.SchedulingWindow.BuilderlifecycleState(SchedulingWindow.LifecycleState lifecycleState)The current state of the Scheduling Window.SchedulingWindow.BuilderschedulingPolicyId(String schedulingPolicyId)The OCID of the Scheduling Policy.SchedulingWindow.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SchedulingWindow.BuildertimeCreated(Date timeCreated)The date and time the Scheduling Window was created.SchedulingWindow.BuildertimeNextSchedulingWindowStarts(Date timeNextSchedulingWindowStarts)The date and time of the next upcoming window associated within the schedulingWindow is planned to start.SchedulingWindow.BuildertimeUpdated(Date timeUpdated)The last date and time that the Scheduling Window was updated.SchedulingWindow.BuilderwindowPreference(WindowPreferenceDetail windowPreference)
 
- 
- 
- 
Method Detail- 
idpublic SchedulingWindow.Builder id(String id) The OCID of the Scheduling Window.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic SchedulingWindow.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic SchedulingWindow.Builder displayName(String displayName) The user-friendly name for the Scheduling Window.The name does not need to be unique. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
timeNextSchedulingWindowStartspublic SchedulingWindow.Builder timeNextSchedulingWindowStarts(Date timeNextSchedulingWindowStarts) The date and time of the next upcoming window associated within the schedulingWindow is planned to start.- Parameters:
- timeNextSchedulingWindowStarts- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic SchedulingWindow.Builder lifecycleState(SchedulingWindow.LifecycleState lifecycleState) The current state of the Scheduling Window.Valid states are CREATING, ACTIVE, UPDATING, FAILED, DELETING and DELETED. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic SchedulingWindow.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic SchedulingWindow.Builder timeCreated(Date timeCreated) The date and time the Scheduling Window was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic SchedulingWindow.Builder timeUpdated(Date timeUpdated) The last date and time that the Scheduling Window was updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
windowPreferencepublic SchedulingWindow.Builder windowPreference(WindowPreferenceDetail windowPreference) 
 - 
schedulingPolicyIdpublic SchedulingWindow.Builder schedulingPolicyId(String schedulingPolicyId) The OCID of the Scheduling Policy.- Parameters:
- schedulingPolicyId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic SchedulingWindow.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 SchedulingWindow.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 SchedulingWindow.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 SchedulingWindow build() 
 - 
copypublic SchedulingWindow.Builder copy(SchedulingWindow model) 
 
- 
 
-