public static class MaintenanceWindow.Builder extends Object
Constructor and Description |
---|
Builder() |
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 build()
public MaintenanceWindow.Builder copy(MaintenanceWindow model)
Copyright © 2016–2024. All rights reserved.