@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class MaintenanceWindow extends ExplicitlySetBmcModel
The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
MaintenanceWindow.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the MaintenanceWindow.Builder
, which maintain a set of all explicitly set fields called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
MaintenanceWindow.Builder |
static class |
MaintenanceWindow.PatchingMode
Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.
|
static class |
MaintenanceWindow.Preference
The maintenance window scheduling preference.
|
Constructor and Description |
---|
MaintenanceWindow(MaintenanceWindow.Preference preference,
MaintenanceWindow.PatchingMode patchingMode,
Boolean isCustomActionTimeoutEnabled,
Integer customActionTimeoutInMins,
List<Month> months,
List<Integer> weeksOfMonth,
List<DayOfWeek> daysOfWeek,
List<Integer> hoursOfDay,
Integer leadTimeInWeeks)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MaintenanceWindow.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getCustomActionTimeoutInMins()
Determines the amount of time the system will wait before the start of each database server patching operation.
|
List<DayOfWeek> |
getDaysOfWeek()
Days during the week when maintenance should be performed.
|
List<Integer> |
getHoursOfDay()
The window of hours during the day when maintenance should be performed.
|
Boolean |
getIsCustomActionTimeoutEnabled()
If true, enables the configuration of a custom action timeout (waiting period) between database server patching operations.
|
Integer |
getLeadTimeInWeeks()
Lead time window allows user to set a lead time to prepare for a down time.
|
List<Month> |
getMonths()
Months during the year when maintenance should be performed.
|
MaintenanceWindow.PatchingMode |
getPatchingMode()
Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.
|
MaintenanceWindow.Preference |
getPreference()
The maintenance window scheduling preference.
|
List<Integer> |
getWeeksOfMonth()
Weeks during the month when maintenance should be performed.
|
int |
hashCode() |
MaintenanceWindow.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"preference","patchingMode","isCustomActionTimeoutEnabled","customActionTimeoutInMins","months","weeksOfMonth","daysOfWeek","hoursOfDay","leadTimeInWeeks"}) public MaintenanceWindow(MaintenanceWindow.Preference preference, MaintenanceWindow.PatchingMode patchingMode, Boolean isCustomActionTimeoutEnabled, Integer customActionTimeoutInMins, List<Month> months, List<Integer> weeksOfMonth, List<DayOfWeek> daysOfWeek, List<Integer> hoursOfDay, Integer leadTimeInWeeks)
public static MaintenanceWindow.Builder builder()
Create a new builder.
public MaintenanceWindow.Builder toBuilder()
public MaintenanceWindow.Preference getPreference()
The maintenance window scheduling preference.
public MaintenanceWindow.PatchingMode getPatchingMode()
Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”. Default value is ROLLING.
IMPORTANT*: Non-rolling infrastructure patching involves system down time. See [Oracle-Managed Infrastructure Maintenance Updates](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/examaintenance.htm#Oracle) for more information.
public Boolean getIsCustomActionTimeoutEnabled()
If true, enables the configuration of a custom action timeout (waiting period) between database server patching operations.
public Integer getCustomActionTimeoutInMins()
Determines the amount of time the system will wait before the start of each database server patching operation. Custom action timeout is in minutes and valid value is between 15 to 120 (inclusive).
public List<Month> getMonths()
Months during the year when maintenance should be performed.
public List<Integer> getWeeksOfMonth()
Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed.
public List<DayOfWeek> getDaysOfWeek()
Days during the week when maintenance should be performed.
public List<Integer> getHoursOfDay()
The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are
public Integer getLeadTimeInWeeks()
Lead time window allows user to set a lead time to prepare for a down time. The lead time is in weeks and valid value is between 1 to 4.
public String toString()
toString
in class ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2022. All rights reserved.