public static class MaintenanceWindow.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MaintenanceWindow |
build() |
MaintenanceWindow.Builder |
compartmentId(String compartmentId)
Tenancy OCID
|
MaintenanceWindow.Builder |
copy(MaintenanceWindow model) |
MaintenanceWindow.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
MaintenanceWindow.Builder |
description(String description)
A user-friendly description.
|
MaintenanceWindow.Builder |
displayName(String displayName)
A user-friendly name.
|
MaintenanceWindow.Builder |
duration(String duration)
Duration of the maintenance window.
|
MaintenanceWindow.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
MaintenanceWindow.Builder |
id(String id)
The OCID of the resource.
|
MaintenanceWindow.Builder |
isOutage(Boolean isOutage)
Does the maintenenace window cause outage? An outage indicates whether a maintenance
window can consider operations that require downtime.
|
MaintenanceWindow.Builder |
isRecurring(Boolean isRecurring)
Is this a recurring maintenance window?
|
MaintenanceWindow.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
MaintenanceWindow.Builder |
lifecycleState(MaintenanceWindow.LifecycleState lifecycleState)
The current state of the MaintenanceWindow.
|
MaintenanceWindow.Builder |
maintenanceWindowType(MaintenanceWindowType maintenanceWindowType)
Type of the MaintenanceWindow.
|
MaintenanceWindow.Builder |
recurrences(String recurrences)
Recurrence rule specification if maintenance window recurring.
|
MaintenanceWindow.Builder |
resourceRegion(String resourceRegion)
Associated region
|
MaintenanceWindow.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
MaintenanceWindow.Builder |
taskInitiationCutoff(Integer taskInitiationCutoff)
Task initiation cutoff time for the maintenance window.
|
MaintenanceWindow.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
MaintenanceWindow.Builder |
timeScheduleStart(Date timeScheduleStart)
Specify the date and time of the day that the maintenance window starts.
|
MaintenanceWindow.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
public MaintenanceWindow.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic MaintenanceWindow.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic MaintenanceWindow.Builder resourceRegion(String resourceRegion)
Associated region
resourceRegion
- the value to setpublic MaintenanceWindow.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
displayName
- the value to setpublic MaintenanceWindow.Builder description(String description)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
description
- the value to setpublic MaintenanceWindow.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic MaintenanceWindow.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic MaintenanceWindow.Builder maintenanceWindowType(MaintenanceWindowType maintenanceWindowType)
Type of the MaintenanceWindow.
maintenanceWindowType
- the value to setpublic MaintenanceWindow.Builder isOutage(Boolean isOutage)
Does the maintenenace window cause outage? An outage indicates whether a maintenance window can consider operations that require downtime. It means a period when the application is not accessible.
isOutage
- the value to setpublic MaintenanceWindow.Builder timeScheduleStart(Date timeScheduleStart)
Specify the date and time of the day that the maintenance window starts.
timeScheduleStart
- the value to setpublic MaintenanceWindow.Builder duration(String duration)
Duration of the maintenance window. Specify how long the maintenance window remains open.
duration
- the value to setpublic MaintenanceWindow.Builder isRecurring(Boolean isRecurring)
Is this a recurring maintenance window?
isRecurring
- the value to setpublic MaintenanceWindow.Builder recurrences(String recurrences)
Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window.
recurrences
- the value to setpublic MaintenanceWindow.Builder taskInitiationCutoff(Integer taskInitiationCutoff)
Task initiation cutoff time for the maintenance window.
taskInitiationCutoff
- the value to setpublic MaintenanceWindow.Builder lifecycleState(MaintenanceWindow.LifecycleState lifecycleState)
The current state of the MaintenanceWindow.
lifecycleState
- the value to setpublic MaintenanceWindow.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic MaintenanceWindow.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic MaintenanceWindow.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic MaintenanceWindow.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic MaintenanceWindow build()
public MaintenanceWindow.Builder copy(MaintenanceWindow model)
Copyright © 2016–2024. All rights reserved.