public class CreateAlarmShieldRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateAlarmShieldRequest() | 
| CreateAlarmShieldRequest(CreateAlarmShieldRequest 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 通知渠道组id。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取通知渠道组id | 
| Long | getEndTime()Get 屏蔽规则结束时间,秒级(s)时间戳。结束时间需要大于当前时间 | 
| String | getReason()Get 屏蔽原因。 | 
| String | getRule()Get 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。 | 
| Long | getStartTime()Get 屏蔽规则开始时间,秒级(s)时间戳。 | 
| Long | getType()Get 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。 | 
| void | setAlarmNoticeId(String AlarmNoticeId)Set 通知渠道组id。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取通知渠道组id | 
| void | setEndTime(Long EndTime)Set 屏蔽规则结束时间,秒级(s)时间戳。结束时间需要大于当前时间 | 
| void | setReason(String Reason)Set 屏蔽原因。 | 
| void | setRule(String Rule)Set 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。 | 
| void | setStartTime(Long StartTime)Set 屏蔽规则开始时间,秒级(s)时间戳。 | 
| void | setType(Long Type)Set 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。 | 
| 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 CreateAlarmShieldRequest()
public CreateAlarmShieldRequest(CreateAlarmShieldRequest source)
public String getAlarmNoticeId()
public void setAlarmNoticeId(String AlarmNoticeId)
AlarmNoticeId - 通知渠道组id。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取通知渠道组idpublic Long getStartTime()
public void setStartTime(Long StartTime)
StartTime - 屏蔽规则开始时间,秒级(s)时间戳。public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime - 屏蔽规则结束时间,秒级(s)时间戳。结束时间需要大于当前时间public Long getType()
public void setType(Long Type)
Type - 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。public String getReason()
public void setReason(String Reason)
Reason - 屏蔽原因。public String getRule()
public void setRule(String Rule)
Rule - 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。Copyright © 2025. All rights reserved.