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
protected final java.lang.String alertName
-
alertSeverity
protected final AdminAlertSeverityEnum alertSeverity
-
alertCategory
protected final AdminAlertCategoryEnum alertCategory
-
alertInstanceId
protected final java.lang.String alertInstanceId
-
-
Constructor Detail
-
AdminAlertingTriggeredAlertDetails
public AdminAlertingTriggeredAlertDetails(java.lang.String alertName, AdminAlertSeverityEnum alertSeverity, AdminAlertCategoryEnum alertCategory, 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
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
.
-
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
-
-