Class AdminAlertingAlertStateChangedDetails


  • public class AdminAlertingAlertStateChangedDetails
    extends java.lang.Object
    Changed an alert state.
    • Constructor Detail

      • AdminAlertingAlertStateChangedDetails

        public AdminAlertingAlertStateChangedDetails​(java.lang.String alertName,
                                                     AdminAlertSeverityEnum alertSeverity,
                                                     AdminAlertCategoryEnum alertCategory,
                                                     java.lang.String alertInstanceId,
                                                     AdminAlertGeneralStateEnum previousValue,
                                                     AdminAlertGeneralStateEnum newValue)
        Changed an alert state.
        Parameters:
        alertName - Alert name. Must not be null.
        alertSeverity - Alert severity. Must not be null.
        alertCategory - Alert category. Must not be null.
        alertInstanceId - Alert ID. Must not be null.
        previousValue - Alert state before the change. Must not be null.
        newValue - Alert state after the change. Must not be null.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getAlertName

        public java.lang.String getAlertName()
        Alert name.
        Returns:
        value for this field, never null.
      • getAlertSeverity

        public AdminAlertSeverityEnum getAlertSeverity()
        Alert severity.
        Returns:
        value for this field, never null.
      • getAlertCategory

        public AdminAlertCategoryEnum getAlertCategory()
        Alert category.
        Returns:
        value for this field, never null.
      • getAlertInstanceId

        public java.lang.String getAlertInstanceId()
        Alert ID.
        Returns:
        value for this field, never null.
      • getPreviousValue

        public AdminAlertGeneralStateEnum getPreviousValue()
        Alert state before the change.
        Returns:
        value for this field, never null.
      • getNewValue

        public AdminAlertGeneralStateEnum getNewValue()
        Alert state after the change.
        Returns:
        value for this field, never null.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toStringMultiline

        public java.lang.String toStringMultiline()
        Returns a String representation of this object formatted for easier readability.

        The returned String may contain newlines.

        Returns:
        Formatted, multiline String representation of this object