Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Condition.Builder |
body(String body)
The human-readable content of the delivered alarm notification.
|
Condition |
build() |
Condition.Builder |
copy(Condition model) |
Condition.Builder |
query(String query)
The Monitoring Query Language (MQL) expression to evaluate for the alarm.
|
Condition.Builder |
severity(AlarmConditionSeverity severity)
Severity - Critical/Warning
|
Condition.Builder |
shouldAppendNote(Boolean shouldAppendNote)
Whether the note need to add into bottom of the body for mapping the alarms information
with template or not.
|
Condition.Builder |
shouldAppendUrl(Boolean shouldAppendUrl)
Whether the URL need to add into bottom of the body for mapping the alarms information
with template or not.
|
Condition.Builder |
triggerDelay(String triggerDelay)
The period of time that the condition defined in the alarm must persist before the alarm
state changes from “OK” to “FIRING”.
|
public Condition.Builder severity(AlarmConditionSeverity severity)
Severity - Critical/Warning
severity
- the value to setpublic Condition.Builder query(String query)
The Monitoring Query Language (MQL) expression to evaluate for the alarm.
query
- the value to setpublic Condition.Builder body(String body)
The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information.
body
- the value to setpublic Condition.Builder shouldAppendNote(Boolean shouldAppendNote)
Whether the note need to add into bottom of the body for mapping the alarms information with template or not.
shouldAppendNote
- the value to setpublic Condition.Builder shouldAppendUrl(Boolean shouldAppendUrl)
Whether the URL need to add into bottom of the body for mapping the alarms information with template or not.
shouldAppendUrl
- the value to setpublic Condition.Builder triggerDelay(String triggerDelay)
The period of time that the condition defined in the alarm must persist before the alarm state changes from “OK” to “FIRING”.
triggerDelay
- the value to setpublic Condition build()
public Condition.Builder copy(Condition model)
Copyright © 2016–2025. All rights reserved.