public static class AlarmSuppressionHistoryItem.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AlarmSuppressionHistoryItem.Builder |
alarmSuppressionTarget(AlarmSuppressionTarget alarmSuppressionTarget) |
AlarmSuppressionHistoryItem |
build() |
AlarmSuppressionHistoryItem.Builder |
copy(AlarmSuppressionHistoryItem model) |
AlarmSuppressionHistoryItem.Builder |
description(String description)
Human-readable reason for this alarm suppression.
|
AlarmSuppressionHistoryItem.Builder |
dimensions(Map<String,String> dimensions)
Configured dimension filter for suppressing alarm state entries that include the set of
specified dimension key-value pairs.
|
AlarmSuppressionHistoryItem.Builder |
displayName(String displayName)
A user-friendly name for the alarm suppression.
|
AlarmSuppressionHistoryItem.Builder |
level(AlarmSuppressionHistoryItem.Level level)
The level of this alarm suppression.
|
AlarmSuppressionHistoryItem.Builder |
suppressionConditions(List<SuppressionCondition> suppressionConditions)
Array of all preconditions for alarm suppression.
|
AlarmSuppressionHistoryItem.Builder |
suppressionId(String suppressionId)
The OCID
of the alarm suppression.
|
AlarmSuppressionHistoryItem.Builder |
timeEffectiveFrom(Date timeEffectiveFrom)
The start date and time for the suppression actually starts, inclusive.
|
AlarmSuppressionHistoryItem.Builder |
timeEffectiveUntil(Date timeEffectiveUntil)
The end date and time for the suppression actually ends, inclusive.
|
public AlarmSuppressionHistoryItem.Builder suppressionId(String suppressionId)
The OCID of the alarm suppression.
suppressionId
- the value to setpublic AlarmSuppressionHistoryItem.Builder alarmSuppressionTarget(AlarmSuppressionTarget alarmSuppressionTarget)
public AlarmSuppressionHistoryItem.Builder level(AlarmSuppressionHistoryItem.Level level)
The level of this alarm suppression. ALARM
indicates a suppression of the entire
alarm, regardless of dimension. DIMENSION
indicates a suppression configured for
specified dimensions.
level
- the value to setpublic AlarmSuppressionHistoryItem.Builder displayName(String displayName)
A user-friendly name for the alarm suppression. It does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic AlarmSuppressionHistoryItem.Builder description(String description)
Human-readable reason for this alarm suppression. It does not have to be unique, and it’s changeable. Avoid entering confidential information.
Oracle recommends including tracking information for the event or associated work, such as a ticket number.
Example: Planned outage due to change IT-1234.
description
- the value to setpublic AlarmSuppressionHistoryItem.Builder dimensions(Map<String,String> dimensions)
Configured dimension filter for suppressing alarm state entries that include the set of specified dimension key-value pairs.
Example: {"resourceId": "ocid1.instance.region1.phx.exampleuniqueID"}
dimensions
- the value to setpublic AlarmSuppressionHistoryItem.Builder timeEffectiveFrom(Date timeEffectiveFrom)
The start date and time for the suppression actually starts, inclusive. Format defined by RFC3339.
Example: 2023-02-01T01:02:29.600Z
timeEffectiveFrom
- the value to setpublic AlarmSuppressionHistoryItem.Builder timeEffectiveUntil(Date timeEffectiveUntil)
The end date and time for the suppression actually ends, inclusive. Format defined by RFC3339.
Example: 2023-02-01T02:02:29.600Z
timeEffectiveUntil
- the value to setpublic AlarmSuppressionHistoryItem.Builder suppressionConditions(List<SuppressionCondition> suppressionConditions)
Array of all preconditions for alarm suppression. Example: [{ conditionType:
"RECURRENCE", suppressionRecurrence: "FRQ=DAILY;BYHOUR=10", suppressionDuration: "PT1H"
}]
suppressionConditions
- the value to setpublic AlarmSuppressionHistoryItem build()
public AlarmSuppressionHistoryItem.Builder copy(AlarmSuppressionHistoryItem model)
Copyright © 2016–2024. All rights reserved.