Package com.oracle.bmc.database.model
Class SchedulingWindowSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.SchedulingWindowSummary.Builder
-
- Enclosing class:
- SchedulingWindowSummary
public static class SchedulingWindowSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchedulingWindowSummary
build()
SchedulingWindowSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment.SchedulingWindowSummary.Builder
copy(SchedulingWindowSummary model)
SchedulingWindowSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.SchedulingWindowSummary.Builder
displayName(String displayName)
The user-friendly name for the Scheduling Window.SchedulingWindowSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.SchedulingWindowSummary.Builder
id(String id)
The OCID of the Scheduling Window.SchedulingWindowSummary.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.SchedulingWindowSummary.Builder
lifecycleState(SchedulingWindowSummary.LifecycleState lifecycleState)
The current state of the Scheduling Window.SchedulingWindowSummary.Builder
schedulingPolicyId(String schedulingPolicyId)
The OCID of the Scheduling Policy.SchedulingWindowSummary.Builder
timeCreated(Date timeCreated)
The date and time the Scheduling Window was created.SchedulingWindowSummary.Builder
timeNextSchedulingWindowStarts(Date timeNextSchedulingWindowStarts)
The date and time of the next upcoming window associated within the schedulingWindow is planned to start.SchedulingWindowSummary.Builder
timeUpdated(Date timeUpdated)
The last date and time that the Scheduling Window was updated.SchedulingWindowSummary.Builder
windowPreference(WindowPreferenceDetail windowPreference)
-
-
-
Method Detail
-
id
public SchedulingWindowSummary.Builder id(String id)
The OCID of the Scheduling Window.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public SchedulingWindowSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public SchedulingWindowSummary.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 SchedulingWindowSummary.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 SchedulingWindowSummary.Builder lifecycleState(SchedulingWindowSummary.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 SchedulingWindowSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public SchedulingWindowSummary.Builder timeCreated(Date timeCreated)
The date and time the Scheduling Window was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public SchedulingWindowSummary.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 SchedulingWindowSummary.Builder windowPreference(WindowPreferenceDetail windowPreference)
-
schedulingPolicyId
public SchedulingWindowSummary.Builder schedulingPolicyId(String schedulingPolicyId)
The OCID of the Scheduling Policy.- Parameters:
schedulingPolicyId
- the value to set- Returns:
- this builder
-
freeformTags
public SchedulingWindowSummary.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 SchedulingWindowSummary.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 SchedulingWindowSummary build()
-
copy
public SchedulingWindowSummary.Builder copy(SchedulingWindowSummary model)
-
-