Class UpdateMaintenanceWindowDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.UpdateMaintenanceWindowDetails.Builder
-
- Enclosing class:
- UpdateMaintenanceWindowDetails
public static class UpdateMaintenanceWindowDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateMaintenanceWindowDetails
build()
UpdateMaintenanceWindowDetails.Builder
copy(UpdateMaintenanceWindowDetails model)
UpdateMaintenanceWindowDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateMaintenanceWindowDetails.Builder
description(String description)
A user-friendly description.UpdateMaintenanceWindowDetails.Builder
displayName(String displayName)
A user-friendly name.UpdateMaintenanceWindowDetails.Builder
duration(String duration)
Duration of the maintenance window.UpdateMaintenanceWindowDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.UpdateMaintenanceWindowDetails.Builder
isOutage(Boolean isOutage)
Does the maintenenace window cause outage? An outage indicates whether a maintenance window can consider operations that require downtime.UpdateMaintenanceWindowDetails.Builder
isRecurring(Boolean isRecurring)
Is this a recurring maintenance window?UpdateMaintenanceWindowDetails.Builder
recurrences(String recurrences)
Recurrence rule specification if maintenance window recurring.UpdateMaintenanceWindowDetails.Builder
timeScheduleStart(Date timeScheduleStart)
Specify the date and time of the day that the maintenance window starts.
-
-
-
Method Detail
-
displayName
public UpdateMaintenanceWindowDetails.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
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public UpdateMaintenanceWindowDetails.Builder description(String description)
A user-friendly description.To provide some insight about the resource. Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
isOutage
public UpdateMaintenanceWindowDetails.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.
- Parameters:
isOutage
- the value to set- Returns:
- this builder
-
timeScheduleStart
public UpdateMaintenanceWindowDetails.Builder timeScheduleStart(Date timeScheduleStart)
Specify the date and time of the day that the maintenance window starts.- Parameters:
timeScheduleStart
- the value to set- Returns:
- this builder
-
duration
public UpdateMaintenanceWindowDetails.Builder duration(String duration)
Duration of the maintenance window.Specify how long the maintenance window remains open.
- Parameters:
duration
- the value to set- Returns:
- this builder
-
isRecurring
public UpdateMaintenanceWindowDetails.Builder isRecurring(Boolean isRecurring)
Is this a recurring maintenance window?- Parameters:
isRecurring
- the value to set- Returns:
- this builder
-
recurrences
public UpdateMaintenanceWindowDetails.Builder recurrences(String recurrences)
Recurrence rule specification if maintenance window recurring.Specify the frequency of running the maintenance window.
- Parameters:
recurrences
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateMaintenanceWindowDetails.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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public UpdateMaintenanceWindowDetails.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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public UpdateMaintenanceWindowDetails build()
-
copy
public UpdateMaintenanceWindowDetails.Builder copy(UpdateMaintenanceWindowDetails model)
-
-