Class AlarmFeedback.Builder
- java.lang.Object
-
- org.opennms.features.situationfeedback.api.AlarmFeedback.Builder
-
- Enclosing class:
- AlarmFeedback
public static class AlarmFeedback.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlarmFeedback
build()
AlarmFeedback.Builder
withAlarmKey(java.lang.String alarmKey)
AlarmFeedback.Builder
withFeedbackType(AlarmFeedback.FeedbackType feedbackType)
AlarmFeedback.Builder
withReason(java.lang.String reason)
AlarmFeedback.Builder
withRootCause(java.lang.Boolean rootCause)
AlarmFeedback.Builder
withSituationFingerprint(java.lang.String situationFingerprint)
AlarmFeedback.Builder
withSituationKey(java.lang.String situationKey)
AlarmFeedback.Builder
withTags(java.util.List<java.lang.String> tags)
AlarmFeedback.Builder
withTimestamp(long timestamp)
AlarmFeedback.Builder
withUser(java.lang.String user)
-
-
-
Method Detail
-
withSituationKey
public AlarmFeedback.Builder withSituationKey(java.lang.String situationKey)
-
withSituationFingerprint
public AlarmFeedback.Builder withSituationFingerprint(java.lang.String situationFingerprint)
-
withAlarmKey
public AlarmFeedback.Builder withAlarmKey(java.lang.String alarmKey)
-
withFeedbackType
public AlarmFeedback.Builder withFeedbackType(AlarmFeedback.FeedbackType feedbackType)
-
withRootCause
public AlarmFeedback.Builder withRootCause(java.lang.Boolean rootCause)
-
withReason
public AlarmFeedback.Builder withReason(java.lang.String reason)
-
withTags
public AlarmFeedback.Builder withTags(java.util.List<java.lang.String> tags)
-
withUser
public AlarmFeedback.Builder withUser(java.lang.String user)
-
withTimestamp
public AlarmFeedback.Builder withTimestamp(long timestamp)
-
build
public AlarmFeedback build()
-
-