Class Condition.Builder
- java.lang.Object
- 
- com.oracle.bmc.stackmonitoring.model.Condition.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Condition.Builderbody(String body)The human-readable content of the delivered alarm notification.Conditionbuild()Condition.Buildercopy(Condition model)Condition.Builderquery(String query)The Monitoring Query Language (MQL) expression to evaluate for the alarm.Condition.Builderseverity(AlarmConditionSeverity severity)Severity - Critical/WarningCondition.BuildershouldAppendNote(Boolean shouldAppendNote)Whether the note need to add into bottom of the body for mapping the alarms information with template or not.Condition.BuildershouldAppendUrl(Boolean shouldAppendUrl)Whether the URL need to add into bottom of the body for mapping the alarms information with template or not.Condition.BuildertriggerDelay(String triggerDelay)The period of time that the condition defined in the alarm must persist before the alarm state changes from “OK” to “FIRING”.
 
- 
- 
- 
Method Detail- 
severitypublic Condition.Builder severity(AlarmConditionSeverity severity) Severity - Critical/Warning- Parameters:
- severity- the value to set
- Returns:
- this builder
 
 - 
querypublic Condition.Builder query(String query) The Monitoring Query Language (MQL) expression to evaluate for the alarm.- Parameters:
- query- the value to set
- Returns:
- this builder
 
 - 
bodypublic 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. - Parameters:
- body- the value to set
- Returns:
- this builder
 
 - 
shouldAppendNotepublic 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.- Parameters:
- shouldAppendNote- the value to set
- Returns:
- this builder
 
 - 
shouldAppendUrlpublic 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.- Parameters:
- shouldAppendUrl- the value to set
- Returns:
- this builder
 
 - 
triggerDelaypublic 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”.- Parameters:
- triggerDelay- the value to set
- Returns:
- this builder
 
 - 
buildpublic Condition build() 
 - 
copypublic Condition.Builder copy(Condition model) 
 
- 
 
-