public static class SchedulingWindow.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SchedulingWindow |
build() |
SchedulingWindow.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
SchedulingWindow.Builder |
copy(SchedulingWindow model) |
SchedulingWindow.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
SchedulingWindow.Builder |
displayName(String displayName)
The user-friendly name for the Scheduling Window.
|
SchedulingWindow.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
SchedulingWindow.Builder |
id(String id)
The OCID of the
Scheduling Window.
|
SchedulingWindow.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
SchedulingWindow.Builder |
lifecycleState(SchedulingWindow.LifecycleState lifecycleState)
The current state of the Scheduling Window.
|
SchedulingWindow.Builder |
schedulingPolicyId(String schedulingPolicyId)
The OCID of the
Scheduling Policy.
|
SchedulingWindow.Builder |
timeCreated(Date timeCreated)
The date and time the Scheduling Window was created.
|
SchedulingWindow.Builder |
timeNextSchedulingWindowStarts(Date timeNextSchedulingWindowStarts)
The date and time of the next upcoming window associated within the schedulingWindow is
planned to start.
|
SchedulingWindow.Builder |
timeUpdated(Date timeUpdated)
The last date and time that the Scheduling Window was updated.
|
SchedulingWindow.Builder |
windowPreference(WindowPreferenceDetail windowPreference) |
public SchedulingWindow.Builder id(String id)
The OCID of the Scheduling Window.
id
- the value to setpublic SchedulingWindow.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic SchedulingWindow.Builder displayName(String displayName)
The user-friendly name for the Scheduling Window. The name does not need to be unique.
displayName
- the value to setpublic SchedulingWindow.Builder timeNextSchedulingWindowStarts(Date timeNextSchedulingWindowStarts)
The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
timeNextSchedulingWindowStarts
- the value to setpublic SchedulingWindow.Builder lifecycleState(SchedulingWindow.LifecycleState lifecycleState)
The current state of the Scheduling Window. Valid states are CREATING, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
lifecycleState
- the value to setpublic SchedulingWindow.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic SchedulingWindow.Builder timeCreated(Date timeCreated)
The date and time the Scheduling Window was created.
timeCreated
- the value to setpublic SchedulingWindow.Builder timeUpdated(Date timeUpdated)
The last date and time that the Scheduling Window was updated.
timeUpdated
- the value to setpublic SchedulingWindow.Builder windowPreference(WindowPreferenceDetail windowPreference)
public SchedulingWindow.Builder schedulingPolicyId(String schedulingPolicyId)
The OCID of the Scheduling Policy.
schedulingPolicyId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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.
definedTags
- the value to setpublic SchedulingWindow build()
public SchedulingWindow.Builder copy(SchedulingWindow model)
Copyright © 2016–2024. All rights reserved.