public static class CreateMaintenanceWindowDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateMaintenanceWindowDetails.Builder name(String name)
Maintenance Window name.
name
- the value to setpublic CreateMaintenanceWindowDetails.Builder description(String description)
Maintenance Window description.
description
- the value to setpublic CreateMaintenanceWindowDetails.Builder compartmentId(String compartmentId)
Compartment Identifier OCID.
compartmentId
- the value to setpublic CreateMaintenanceWindowDetails.Builder resources(List<CreateMaintenanceWindowResourceDetails> resources)
List of resource Ids which are part of the Maintenance Window
resources
- the value to setpublic CreateMaintenanceWindowDetails.Builder schedule(MaintenanceWindowSchedule schedule)
public CreateMaintenanceWindowDetails.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 CreateMaintenanceWindowDetails.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 CreateMaintenanceWindowDetails build()
public CreateMaintenanceWindowDetails.Builder copy(CreateMaintenanceWindowDetails model)
Copyright © 2016–2025. All rights reserved.