Class AdminAlertingAlertStateChangedDetails


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

      • AdminAlertingAlertStateChangedDetails

        public AdminAlertingAlertStateChangedDetails​(@Nonnull
                                                     java.lang.String alertName,
                                                     @Nonnull
                                                     AdminAlertSeverityEnum alertSeverity,
                                                     @Nonnull
                                                     AdminAlertCategoryEnum alertCategory,
                                                     @Nonnull
                                                     java.lang.String alertInstanceId,
                                                     @Nonnull
                                                     AdminAlertGeneralStateEnum previousValue,
                                                     @Nonnull
                                                     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

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

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

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

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

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

        @Nonnull
        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