Package com.dropbox.core.v2.teamlog
Class AdminAlertingTriggeredAlertDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.AdminAlertingTriggeredAlertDetails
-
public class AdminAlertingTriggeredAlertDetails extends java.lang.Object
Triggered security alert.
-
-
Field Summary
Fields Modifier and Type Field Description protected AdminAlertCategoryEnum
alertCategory
protected java.lang.String
alertInstanceId
protected java.lang.String
alertName
protected AdminAlertSeverityEnum
alertSeverity
-
Constructor Summary
Constructors Constructor Description AdminAlertingTriggeredAlertDetails(java.lang.String alertName, AdminAlertSeverityEnum alertSeverity, AdminAlertCategoryEnum alertCategory, java.lang.String alertInstanceId)
Triggered security alert.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
AdminAlertCategoryEnum
getAlertCategory()
Alert category.java.lang.String
getAlertInstanceId()
Alert ID.java.lang.String
getAlertName()
Alert name.AdminAlertSeverityEnum
getAlertSeverity()
Alert severity.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
alertName
@Nonnull protected final java.lang.String alertName
-
alertSeverity
@Nonnull protected final AdminAlertSeverityEnum alertSeverity
-
alertCategory
@Nonnull protected final AdminAlertCategoryEnum alertCategory
-
alertInstanceId
@Nonnull protected final java.lang.String alertInstanceId
-
-
Constructor Detail
-
AdminAlertingTriggeredAlertDetails
public AdminAlertingTriggeredAlertDetails(@Nonnull java.lang.String alertName, @Nonnull AdminAlertSeverityEnum alertSeverity, @Nonnull AdminAlertCategoryEnum alertCategory, @Nonnull java.lang.String alertInstanceId)
Triggered security alert.- Parameters:
alertName
- Alert name. Must not benull
.alertSeverity
- Alert severity. Must not benull
.alertCategory
- Alert category. Must not benull
.alertInstanceId
- Alert ID. Must not benull
.- 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
.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.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
-
-