Class AlarmFeedback.Builder
- java.lang.Object
-
- org.opennms.features.situationfeedback.api.AlarmFeedback.Builder
-
- Enclosing class:
- AlarmFeedback
public static class AlarmFeedback.Builder extends 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(String alarmKey)
AlarmFeedback.Builder
withFeedbackType(AlarmFeedback.FeedbackType feedbackType)
AlarmFeedback.Builder
withReason(String reason)
AlarmFeedback.Builder
withRootCause(Boolean rootCause)
AlarmFeedback.Builder
withSituationFingerprint(String situationFingerprint)
AlarmFeedback.Builder
withSituationKey(String situationKey)
AlarmFeedback.Builder
withTags(List<String> tags)
AlarmFeedback.Builder
withTimestamp(long timestamp)
AlarmFeedback.Builder
withUser(String user)
-
-
-
Method Detail
-
withSituationKey
public AlarmFeedback.Builder withSituationKey(String situationKey)
-
withSituationFingerprint
public AlarmFeedback.Builder withSituationFingerprint(String situationFingerprint)
-
withAlarmKey
public AlarmFeedback.Builder withAlarmKey(String alarmKey)
-
withFeedbackType
public AlarmFeedback.Builder withFeedbackType(AlarmFeedback.FeedbackType feedbackType)
-
withRootCause
public AlarmFeedback.Builder withRootCause(Boolean rootCause)
-
withReason
public AlarmFeedback.Builder withReason(String reason)
-
withTags
public AlarmFeedback.Builder withTags(List<String> tags)
-
withUser
public AlarmFeedback.Builder withUser(String user)
-
withTimestamp
public AlarmFeedback.Builder withTimestamp(long timestamp)
-
build
public AlarmFeedback build()
-
-