public class AlarmShieldInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
AlarmShieldInfo()  | 
AlarmShieldInfo(AlarmShieldInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAlarmNoticeId()
Get Notification Channel Group ID 
 | 
Long | 
getCreateTime()
Get Rule Creation Time. 
 | 
Long | 
getEndTime()
Get Block end time (second-level timestamp). 
 | 
String | 
getOperator()
Get Operator. 
 | 
String | 
getReason()
Get Blocking reason. 
 | 
String | 
getRule()
Get Rule for shielding, mandatory when Type is 2. 
 | 
Long | 
getSource()
Get Rule Creation Source. 
 | 
Long | 
getStartTime()
Get Block start time (second-level timestamp). 
 | 
Long | 
getStatus()
Get Rule Status. 
 | 
String | 
getTaskId()
Get Shield Rule ID 
 | 
Long | 
getType()
Get Block type. 
 | 
Long | 
getUpdateTime()
Get Rule Update Time. 
 | 
void | 
setAlarmNoticeId(String AlarmNoticeId)
Set Notification Channel Group ID 
 | 
void | 
setCreateTime(Long CreateTime)
Set Rule Creation Time. 
 | 
void | 
setEndTime(Long EndTime)
Set Block end time (second-level timestamp). 
 | 
void | 
setOperator(String Operator)
Set Operator. 
 | 
void | 
setReason(String Reason)
Set Blocking reason. 
 | 
void | 
setRule(String Rule)
Set Rule for shielding, mandatory when Type is 2. 
 | 
void | 
setSource(Long Source)
Set Rule Creation Source. 
 | 
void | 
setStartTime(Long StartTime)
Set Block start time (second-level timestamp). 
 | 
void | 
setStatus(Long Status)
Set Rule Status. 
 | 
void | 
setTaskId(String TaskId)
Set Shield Rule ID 
 | 
void | 
setType(Long Type)
Set Block type. 
 | 
void | 
setUpdateTime(Long UpdateTime)
Set Rule Update Time. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AlarmShieldInfo()
public AlarmShieldInfo(AlarmShieldInfo source)
public String getAlarmNoticeId()
public void setAlarmNoticeId(String AlarmNoticeId)
AlarmNoticeId - Notification Channel Group IDpublic String getTaskId()
public void setTaskId(String TaskId)
TaskId - Shield Rule IDpublic Long getStartTime()
public void setStartTime(Long StartTime)
StartTime - Block start time (second-level timestamp).public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime - Block end time (second-level timestamp).public Long getType()
public void setType(Long Type)
Type - Block type. 1: Block all notifications, 2: Block matching rules notifications according to the Rule parameter.public String getRule()
public void setRule(String Rule)
Rule - Rule for shielding, mandatory when Type is 2. See Product Documentation (https://intl.cloud.tencent.com/document/product/614/103178?from_cn_redirect=1#rule) for rule writing details.Note: This field may return null, indicating that no valid values can be obtained.public String getReason()
public void setReason(String Reason)
Reason - Blocking reason.public Long getSource()
public void setSource(Long Source)
Source - Rule Creation Source.
1. Console; 2. API; 3. Alarm notificationpublic String getOperator()
public void setOperator(String Operator)
Operator - Operator.public Long getStatus()
public void setStatus(Long Status)
Status - Rule Status.
0: Not yet effective; 1: In effect; 2: Expiredpublic Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime - Rule Creation Time.public Long getUpdateTime()
public void setUpdateTime(Long UpdateTime)
UpdateTime - Rule Update Time.Copyright © 2025. All rights reserved.