public static class MaintenanceWindowSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public MaintenanceWindowSummary.Builder id(String id)
The OCID of maintenance window.
id
- the value to setpublic MaintenanceWindowSummary.Builder name(String name)
Maintenance Window name.
name
- the value to setpublic MaintenanceWindowSummary.Builder compartmentId(String compartmentId)
Compartment Identifier OCID.
compartmentId
- the value to setpublic MaintenanceWindowSummary.Builder numberOfResources(Integer numberOfResources)
Number of resources of the Maintenance window.
numberOfResources
- the value to setpublic MaintenanceWindowSummary.Builder lifecycleState(MaintenanceWindowLifecycleState lifecycleState)
Lifecycle state of the monitored resource.
lifecycleState
- the value to setpublic MaintenanceWindowSummary.Builder lifecycleDetails(MaintenanceWindowLifecycleDetails lifecycleDetails)
Lifecycle Details of the Maintenance Window.
lifecycleDetails
- the value to setpublic MaintenanceWindowSummary.Builder operationType(MaintenanceWindowOperationType operationType)
The name of the most recent operation of the Maintenance window.
operationType
- the value to setpublic MaintenanceWindowSummary.Builder operationStatus(MaintenanceWindowOperationStatus operationStatus)
Status of the most recent operation of the Maintenance Window.
operationStatus
- the value to setpublic MaintenanceWindowSummary.Builder schedule(MaintenanceWindowSchedule schedule)
public 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)
Usage of system tag keys. These predefined keys are scoped to namespaces. 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.