Class RecurrentMaintenanceWindowSchedule
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.stackmonitoring.model.MaintenanceWindowSchedule
-
- com.oracle.bmc.stackmonitoring.model.RecurrentMaintenanceWindowSchedule
-
@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 theRecurrentMaintenanceWindowSchedule.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 theRecurrentMaintenanceWindowSchedule.Builder
, which maintain a set of all explicitly set fields calledRecurrentMaintenanceWindowSchedule.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RecurrentMaintenanceWindowSchedule.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.stackmonitoring.model.MaintenanceWindowSchedule
MaintenanceWindowSchedule.ScheduleType
-
-
Constructor Summary
Constructors Constructor Description RecurrentMaintenanceWindowSchedule(Date timeMaintenanceWindowStart, Date timeMaintenanceWindowEnd, String maintenanceWindowRecurrences, String maintenanceWindowDuration)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
RecurrentMaintenanceWindowSchedule
@Deprecated public RecurrentMaintenanceWindowSchedule(Date timeMaintenanceWindowStart, Date timeMaintenanceWindowEnd, String maintenanceWindowRecurrences, String maintenanceWindowDuration)
Deprecated.
-
-
Method Detail
-
builder
public static RecurrentMaintenanceWindowSchedule.Builder builder()
Create a new builder.
-
toBuilder
public RecurrentMaintenanceWindowSchedule.Builder toBuilder()
-
getTimeMaintenanceWindowStart
public Date getTimeMaintenanceWindowStart()
Start time of Maintenance window.A RFC3339 formatted datetime string
- Returns:
- the value
-
getTimeMaintenanceWindowEnd
public Date getTimeMaintenanceWindowEnd()
Start time of Maintenance window.A RFC3339 formatted datetime string
- Returns:
- the value
-
getMaintenanceWindowRecurrences
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.
- Returns:
- the value
-
getMaintenanceWindowDuration
public String getMaintenanceWindowDuration()
Duration time of each recurrence of each Maintenance Window.It must be specified as a string in ISO 8601 extended format.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classMaintenanceWindowSchedule
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classMaintenanceWindowSchedule
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classMaintenanceWindowSchedule
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classMaintenanceWindowSchedule
-
-