public static class SchedulingPolicySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SchedulingPolicySummary |
build() |
SchedulingPolicySummary.Builder |
cadence(SchedulingPolicySummary.Cadence cadence)
The cadence period.
|
SchedulingPolicySummary.Builder |
cadenceStartMonth(Month cadenceStartMonth)
Start of the month to be followed during the cadence period.
|
SchedulingPolicySummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
SchedulingPolicySummary.Builder |
copy(SchedulingPolicySummary model) |
SchedulingPolicySummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
SchedulingPolicySummary.Builder |
displayName(String displayName)
The user-friendly name for the Scheduling Policy.
|
SchedulingPolicySummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
SchedulingPolicySummary.Builder |
id(String id)
The OCID of the
Scheduling Policy.
|
SchedulingPolicySummary.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
SchedulingPolicySummary.Builder |
lifecycleState(SchedulingPolicySummary.LifecycleState lifecycleState)
The current state of the Scheduling Policy.
|
SchedulingPolicySummary.Builder |
timeCreated(Date timeCreated)
The date and time the Scheduling Policy was created.
|
SchedulingPolicySummary.Builder |
timeNextWindowStarts(Date timeNextWindowStarts)
The date and time of the next scheduling window associated with the schedulingPolicy is
planned to start.
|
SchedulingPolicySummary.Builder |
timeUpdated(Date timeUpdated)
The last date and time that the Scheduling Policy was updated.
|
public SchedulingPolicySummary.Builder id(String id)
The OCID of the Scheduling Policy.
id
- the value to setpublic SchedulingPolicySummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic SchedulingPolicySummary.Builder displayName(String displayName)
The user-friendly name for the Scheduling Policy. The name does not need to be unique.
displayName
- the value to setpublic SchedulingPolicySummary.Builder lifecycleState(SchedulingPolicySummary.LifecycleState lifecycleState)
The current state of the Scheduling Policy. Valid states are CREATING, NEEDS_ATTENTION, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
lifecycleState
- the value to setpublic SchedulingPolicySummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic SchedulingPolicySummary.Builder timeCreated(Date timeCreated)
The date and time the Scheduling Policy was created.
timeCreated
- the value to setpublic SchedulingPolicySummary.Builder timeUpdated(Date timeUpdated)
The last date and time that the Scheduling Policy was updated.
timeUpdated
- the value to setpublic SchedulingPolicySummary.Builder cadence(SchedulingPolicySummary.Cadence cadence)
The cadence period.
cadence
- the value to setpublic SchedulingPolicySummary.Builder cadenceStartMonth(Month cadenceStartMonth)
Start of the month to be followed during the cadence period.
cadenceStartMonth
- the value to setpublic SchedulingPolicySummary.Builder timeNextWindowStarts(Date timeNextWindowStarts)
The date and time of the next scheduling window associated with the schedulingPolicy is planned to start.
timeNextWindowStarts
- the value to setpublic SchedulingPolicySummary.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 SchedulingPolicySummary.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 SchedulingPolicySummary build()
public SchedulingPolicySummary.Builder copy(SchedulingPolicySummary model)
Copyright © 2016–2024. All rights reserved.