Class Recurrence


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20180401")
    public final class Recurrence
    extends SuppressionCondition
    Alarm suppression recurring schedule.

    Only one recurrence condition is supported within the list of preconditions for a suppression (suppressionConditions).
    Note: Objects should always be created or deserialized using the Recurrence.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 Recurrence.Builder, which maintain a set of all explicitly set fields called Recurrence.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).

    • Constructor Detail

      • Recurrence

        @Deprecated
        public Recurrence​(String suppressionRecurrence,
                          String suppressionDuration)
        Deprecated.
    • Method Detail

      • getSuppressionRecurrence

        public String getSuppressionRecurrence()
        Frequency and start time of the recurring suppression.

        The format follows the iCalendar specification (RFC 5545, section 3.3.10). Supported rule parts:

        • FREQ: Frequency of the recurring suppression: WEEKLY or DAILY only.
        • BYDAY: Comma separated days. Use with weekly suppressions only. Supported values: MO, TU, WE, TH, FR, SA ,SU. * BYHOUR, BYMINUTE, BYSECOND: Start time in UTC, after timeSuppressFrom value. Default is 00:00:00 UTC after timeSuppressFrom.
        Returns:
        the value
      • getSuppressionDuration

        public String getSuppressionDuration()
        Duration of the recurring suppression.

        Specified as a string in ISO 8601 format. Minimum: PT1M (1 minute). Maximum: PT24H (24 hours).

        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class SuppressionCondition
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation