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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
id
public SchedulingWindow.Builder id(String id)
The OCID of the Scheduling Window.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public SchedulingWindow.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public 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
-
timeNextSchedulingWindowStarts
public 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
-
lifecycleState
public 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
-
lifecycleDetails
public SchedulingWindow.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public SchedulingWindow.Builder timeCreated(Date timeCreated)
The date and time the Scheduling Window was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public 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
-
windowPreference
public SchedulingWindow.Builder windowPreference(WindowPreferenceDetail windowPreference)
-
schedulingPolicyId
public SchedulingWindow.Builder schedulingPolicyId(String schedulingPolicyId)
The OCID of the Scheduling Policy.- Parameters:
schedulingPolicyId- the value to set- Returns:
- this builder
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
build
public SchedulingWindow build()
-
copy
public SchedulingWindow.Builder copy(SchedulingWindow model)
-
-