public static class MaintenanceWindow.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MaintenanceWindow |
build() |
MaintenanceWindow.Builder |
compartmentId(String compartmentId)
Compartment Identifier
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)
Maintenance Window description.
|
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
maintenance window.
|
MaintenanceWindow.Builder |
lifecycleDetails(MaintenanceWindowLifecycleDetails lifecycleDetails)
Lifecycle Details of the Maintenance Window.
|
MaintenanceWindow.Builder |
lifecycleState(MaintenanceWindowLifecycleState lifecycleState)
Lifecycle state of the monitored resource.
|
MaintenanceWindow.Builder |
name(String name)
Maintenance Window name.
|
MaintenanceWindow.Builder |
resources(List<CreateMaintenanceWindowResourceDetails> resources)
List of resource Ids which are part of the Maintenance Window
|
MaintenanceWindow.Builder |
resourcesDetails(List<MonitoredResourceDetails> resourcesDetails)
List of resource details that are part of the Maintenance Window.
|
MaintenanceWindow.Builder |
schedule(MaintenanceWindowSchedule schedule) |
MaintenanceWindow.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
MaintenanceWindow.Builder |
timeCreated(Date timeCreated)
The time the the maintenance window was created.
|
MaintenanceWindow.Builder |
timeUpdated(Date timeUpdated)
The time the the mainteance window was updated.
|
public MaintenanceWindow.Builder id(String id)
The OCID of maintenance window.
id
- the value to setpublic MaintenanceWindow.Builder name(String name)
Maintenance Window name.
name
- the value to setpublic MaintenanceWindow.Builder description(String description)
Maintenance Window description.
description
- the value to setpublic MaintenanceWindow.Builder compartmentId(String compartmentId)
Compartment Identifier OCID.
compartmentId
- the value to setpublic MaintenanceWindow.Builder resources(List<CreateMaintenanceWindowResourceDetails> resources)
List of resource Ids which are part of the Maintenance Window
resources
- the value to setpublic MaintenanceWindow.Builder resourcesDetails(List<MonitoredResourceDetails> resourcesDetails)
List of resource details that are part of the Maintenance Window.
resourcesDetails
- the value to setpublic MaintenanceWindow.Builder lifecycleState(MaintenanceWindowLifecycleState lifecycleState)
Lifecycle state of the monitored resource.
lifecycleState
- the value to setpublic MaintenanceWindow.Builder lifecycleDetails(MaintenanceWindowLifecycleDetails lifecycleDetails)
Lifecycle Details of the Maintenance Window.
lifecycleDetails
- the value to setpublic MaintenanceWindow.Builder schedule(MaintenanceWindowSchedule schedule)
public MaintenanceWindow.Builder timeCreated(Date timeCreated)
The time the the maintenance window was created. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic MaintenanceWindow.Builder timeUpdated(Date timeUpdated)
The time the the mainteance window was updated. An RFC3339 formatted datetime string
timeUpdated
- 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)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic MaintenanceWindow build()
public MaintenanceWindow.Builder copy(MaintenanceWindow model)
Copyright © 2016–2025. All rights reserved.