Class AdminAlertingAlertStateChangedDetails

java.lang.Object
com.dropbox.core.v2.teamlog.AdminAlertingAlertStateChangedDetails

public class AdminAlertingAlertStateChangedDetails extends Object
Changed an alert state.
  • Field Details

  • Constructor Details

    • AdminAlertingAlertStateChangedDetails

      public AdminAlertingAlertStateChangedDetails(@Nonnull String alertName, @Nonnull AdminAlertSeverityEnum alertSeverity, @Nonnull AdminAlertCategoryEnum alertCategory, @Nonnull 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:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getAlertName

      @Nonnull public 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 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 Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

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

      public 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