@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
).
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
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 |
Recurrence.Builder |
SuppressionCondition.ConditionType
Constructor and Description |
---|
Recurrence(String suppressionRecurrence,
String suppressionDuration)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Recurrence.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getSuppressionDuration()
Duration of the recurring suppression.
|
String |
getSuppressionRecurrence()
Frequency and start time of the recurring suppression.
|
int |
hashCode() |
Recurrence.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public Recurrence(String suppressionRecurrence, String suppressionDuration)
public static Recurrence.Builder builder()
Create a new builder.
public Recurrence.Builder toBuilder()
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
.public String getSuppressionDuration()
Duration of the recurring suppression. Specified as a string in ISO 8601 format. Minimum: PT1M
(1 minute). Maximum: PT24H
(24 hours).
public String toString()
toString
in class SuppressionCondition
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class SuppressionCondition
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class SuppressionCondition
public int hashCode()
hashCode
in class SuppressionCondition
Copyright © 2016–2024. All rights reserved.