@Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public final class RecurrentMaintenanceWindowSchedule extends MaintenanceWindowSchedule
Schedule information for the Maintenance Window that is executed multiple times.
Note: Objects should always be created or deserialized using the RecurrentMaintenanceWindowSchedule.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 RecurrentMaintenanceWindowSchedule.Builder
, which maintain a
set of all explicitly set fields called RecurrentMaintenanceWindowSchedule.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
RecurrentMaintenanceWindowSchedule.Builder |
MaintenanceWindowSchedule.ScheduleType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
RecurrentMaintenanceWindowSchedule(Date timeMaintenanceWindowStart,
Date timeMaintenanceWindowEnd,
String maintenanceWindowRecurrences,
String maintenanceWindowDuration)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RecurrentMaintenanceWindowSchedule.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getMaintenanceWindowDuration()
Duration time of each recurrence of each Maintenance Window.
|
String |
getMaintenanceWindowRecurrences()
A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence.
|
Date |
getTimeMaintenanceWindowEnd()
Start time of Maintenance window.
|
Date |
getTimeMaintenanceWindowStart()
Start time of Maintenance window.
|
int |
hashCode() |
RecurrentMaintenanceWindowSchedule.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public RecurrentMaintenanceWindowSchedule(Date timeMaintenanceWindowStart, Date timeMaintenanceWindowEnd, String maintenanceWindowRecurrences, String maintenanceWindowDuration)
public static RecurrentMaintenanceWindowSchedule.Builder builder()
Create a new builder.
public RecurrentMaintenanceWindowSchedule.Builder toBuilder()
public Date getTimeMaintenanceWindowStart()
Start time of Maintenance window. A RFC3339 formatted datetime string
public Date getTimeMaintenanceWindowEnd()
Start time of Maintenance window. A RFC3339 formatted datetime string
public String getMaintenanceWindowRecurrences()
A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence.
Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10
FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY. BYDAY:
Comma separated days for Weekly Maintenance Window. BYHOUR: Specifies the start hour of each
recurrence after timeMaintenanceWindowStart
value. BYMINUTE: Specifies the start
minute of each reccurrence after timeMaintenanceWindowStart
value. The default value
is 00 BYSECOND: Specifies the start second of each reccurrence after timeMaintenanceWindowStart
value. The default value is 00 Other Rules are not supported.
public String getMaintenanceWindowDuration()
Duration time of each recurrence of each Maintenance Window. It must be specified as a string in ISO 8601 extended format.
public String toString()
toString
in class MaintenanceWindowSchedule
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class MaintenanceWindowSchedule
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class MaintenanceWindowSchedule
public int hashCode()
hashCode
in class MaintenanceWindowSchedule
Copyright © 2016–2024. All rights reserved.