public static class SchedulingWindowSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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) |
public SchedulingWindowSummary.Builder id(String id)
The OCID of the Scheduling Window.
id
- the value to setpublic SchedulingWindowSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic SchedulingWindowSummary.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 SchedulingWindowSummary.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 SchedulingWindowSummary.Builder lifecycleState(SchedulingWindowSummary.LifecycleState lifecycleState)
The current state of the Scheduling Window. Valid states are CREATING, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
lifecycleState
- the value to setpublic SchedulingWindowSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic SchedulingWindowSummary.Builder timeCreated(Date timeCreated)
The date and time the Scheduling Window was created.
timeCreated
- the value to setpublic SchedulingWindowSummary.Builder timeUpdated(Date timeUpdated)
The last date and time that the Scheduling Window was updated.
timeUpdated
- the value to setpublic SchedulingWindowSummary.Builder windowPreference(WindowPreferenceDetail windowPreference)
public SchedulingWindowSummary.Builder schedulingPolicyId(String schedulingPolicyId)
The OCID of the Scheduling Policy.
schedulingPolicyId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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.
definedTags
- the value to setpublic SchedulingWindowSummary build()
public SchedulingWindowSummary.Builder copy(SchedulingWindowSummary model)
Copyright © 2016–2024. All rights reserved.