public static class MaintenanceWindowSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MaintenanceWindowSummary |
build() |
MaintenanceWindowSummary.Builder |
compartmentId(String compartmentId)
Tenancy OCID
|
MaintenanceWindowSummary.Builder |
copy(MaintenanceWindowSummary model) |
MaintenanceWindowSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
MaintenanceWindowSummary.Builder |
description(String description)
A user-friendly description.
|
MaintenanceWindowSummary.Builder |
displayName(String displayName)
A user-friendly name.
|
MaintenanceWindowSummary.Builder |
duration(String duration)
Duration of the maintenance window.
|
MaintenanceWindowSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
MaintenanceWindowSummary.Builder |
id(String id)
The OCID of the resource.
|
MaintenanceWindowSummary.Builder |
isOutage(Boolean isOutage)
Does the maintenenace window cause outage? An outage indicates whether a maintenance
window can consider operations that require downtime.
|
MaintenanceWindowSummary.Builder |
isRecurring(Boolean isRecurring)
Is this a recurring maintenance window?
|
MaintenanceWindowSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
MaintenanceWindowSummary.Builder |
lifecycleState(MaintenanceWindow.LifecycleState lifecycleState)
The current state of the MaintenanceWindow.
|
MaintenanceWindowSummary.Builder |
maintenanceWindowType(MaintenanceWindowType maintenanceWindowType)
Type of the MaintenanceWindow.
|
MaintenanceWindowSummary.Builder |
recurrences(String recurrences)
Recurrence rule specification if maintenance window recurring.
|
MaintenanceWindowSummary.Builder |
resourceRegion(String resourceRegion)
Associated region
|
MaintenanceWindowSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
MaintenanceWindowSummary.Builder |
taskInitiationCutoff(Integer taskInitiationCutoff)
Task initiation cutoff time for the maintenance window.
|
MaintenanceWindowSummary.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
MaintenanceWindowSummary.Builder |
timeScheduleStart(Date timeScheduleStart)
Specify the date and time of the day that the maintenance window starts.
|
MaintenanceWindowSummary.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
public MaintenanceWindowSummary.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic MaintenanceWindowSummary.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic MaintenanceWindowSummary.Builder resourceRegion(String resourceRegion)
Associated region
resourceRegion
- the value to setpublic MaintenanceWindowSummary.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 MaintenanceWindowSummary.Builder description(String description)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
description
- the value to setpublic MaintenanceWindowSummary.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic MaintenanceWindowSummary.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic MaintenanceWindowSummary.Builder maintenanceWindowType(MaintenanceWindowType maintenanceWindowType)
Type of the MaintenanceWindow.
maintenanceWindowType
- the value to setpublic MaintenanceWindowSummary.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 MaintenanceWindowSummary.Builder timeScheduleStart(Date timeScheduleStart)
Specify the date and time of the day that the maintenance window starts.
timeScheduleStart
- the value to setpublic MaintenanceWindowSummary.Builder duration(String duration)
Duration of the maintenance window. Specify how long the maintenance window remains open.
duration
- the value to setpublic MaintenanceWindowSummary.Builder isRecurring(Boolean isRecurring)
Is this a recurring maintenance window?
isRecurring
- the value to setpublic MaintenanceWindowSummary.Builder recurrences(String recurrences)
Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window.
recurrences
- the value to setpublic MaintenanceWindowSummary.Builder taskInitiationCutoff(Integer taskInitiationCutoff)
Task initiation cutoff time for the maintenance window.
taskInitiationCutoff
- the value to setpublic MaintenanceWindowSummary.Builder lifecycleState(MaintenanceWindow.LifecycleState lifecycleState)
The current state of the MaintenanceWindow.
lifecycleState
- the value to setpublic MaintenanceWindowSummary.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 MaintenanceWindowSummary.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 MaintenanceWindowSummary.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 MaintenanceWindowSummary.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 MaintenanceWindowSummary build()
public MaintenanceWindowSummary.Builder copy(MaintenanceWindowSummary model)
Copyright © 2016–2024. All rights reserved.