Serializablepublic class Alert extends Object implements Serializable
| 修饰符和类型 | 字段 | 说明 |
|---|---|---|
protected String |
actionType |
|
protected String |
alertKey |
|
protected String |
alertName |
|
protected String |
alertValue |
|
protected int |
checkInterval |
|
protected String |
comparator |
|
protected int |
count |
|
protected String |
displayName |
|
protected String |
from |
|
protected String |
message |
|
protected String |
mnsParam |
|
protected String |
phoneNumber |
|
protected String |
roleArn |
|
protected String |
savedSearchName |
|
protected String |
to |
|
protected String |
webhook |
protected String alertName
protected String savedSearchName
protected String from
protected String to
protected int checkInterval
protected int count
protected String alertKey
protected String alertValue
protected String comparator
protected String actionType
protected String phoneNumber
protected String roleArn
protected String mnsParam
protected String message
protected String webhook
protected String displayName
public Alert()
public Alert(Alert alert)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getWebhook()
public void setWebhook(String webhook)
public String getMessage()
public void setMessage(String message)
public String getMnsParam()
public void setMnsParam(String mnsParam)
public String getRoleArn()
public void setRoleArn(String roleArn)
public String getAlertName()
public void setAlertName(String alertName)
public String getSavedSearchName()
public void setSavedSearchName(String savedSearchName)
public String getFrom()
public void setFrom(String from)
public String getTo()
public void setTo(String to)
public int getCheckInterval()
public void setCheckInterval(int checkInterval)
public int getCount()
public void setCount(int count)
public String getAlertKey()
public void setAlertKey(String alertKey)
public String getAlertValue()
public void setAlertValue(String alertValue)
public String getComparator()
public void setComparator(String comparator)
public String getActionType()
public void setActionType(String actionType)
public String getPhoneNumber()
public void setPhoneNumber(String phoneNumber)
public net.sf.json.JSONObject ToJsonObject()
public String ToJsonString()
public void FromJsonObject(net.sf.json.JSONObject dict)
throws LogException
LogExceptionpublic void FromJsonString(String alertString) throws LogException
LogExceptionCopyright © 2018. All Rights Reserved.