public static class CreateMaintenanceWindowDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateMaintenanceWindowDetails |
build() |
CreateMaintenanceWindowDetails.Builder |
compartmentId(String compartmentId)
Tenancy OCID
|
CreateMaintenanceWindowDetails.Builder |
copy(CreateMaintenanceWindowDetails model) |
CreateMaintenanceWindowDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateMaintenanceWindowDetails.Builder |
description(String description)
A user-friendly description.
|
CreateMaintenanceWindowDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
CreateMaintenanceWindowDetails.Builder |
duration(String duration)
Duration of the maintenance window.
|
CreateMaintenanceWindowDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateMaintenanceWindowDetails.Builder |
isOutage(Boolean isOutage)
Does the maintenenace window cause outage? An outage indicates whether a maintenance
window can consider operations that require downtime.
|
CreateMaintenanceWindowDetails.Builder |
isRecurring(Boolean isRecurring)
Is this a recurring maintenance window?
|
CreateMaintenanceWindowDetails.Builder |
maintenanceWindowType(MaintenanceWindowType maintenanceWindowType)
Type of maintenenace window
|
CreateMaintenanceWindowDetails.Builder |
recurrences(String recurrences)
Recurrence rule specification if maintenance window recurring.
|
CreateMaintenanceWindowDetails.Builder |
taskInitiationCutoff(Integer taskInitiationCutoff)
Task initiation cutoff time for the maintenance window.
|
CreateMaintenanceWindowDetails.Builder |
timeScheduleStart(Date timeScheduleStart)
Specify the date and time of the day that the maintenance window starts.
|
public CreateMaintenanceWindowDetails.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic CreateMaintenanceWindowDetails.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 CreateMaintenanceWindowDetails.Builder description(String description)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
description
- the value to setpublic CreateMaintenanceWindowDetails.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 CreateMaintenanceWindowDetails.Builder maintenanceWindowType(MaintenanceWindowType maintenanceWindowType)
Type of maintenenace window
maintenanceWindowType
- the value to setpublic CreateMaintenanceWindowDetails.Builder timeScheduleStart(Date timeScheduleStart)
Specify the date and time of the day that the maintenance window starts.
timeScheduleStart
- the value to setpublic CreateMaintenanceWindowDetails.Builder duration(String duration)
Duration of the maintenance window. Specify how long the maintenance window remains open.
duration
- the value to setpublic CreateMaintenanceWindowDetails.Builder isRecurring(Boolean isRecurring)
Is this a recurring maintenance window?
isRecurring
- the value to setpublic CreateMaintenanceWindowDetails.Builder recurrences(String recurrences)
Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window.
recurrences
- the value to setpublic CreateMaintenanceWindowDetails.Builder taskInitiationCutoff(Integer taskInitiationCutoff)
Task initiation cutoff time for the maintenance window.
taskInitiationCutoff
- the value to setpublic 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–2024. All rights reserved.