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 通知渠道组Id
|
Long |
getCreateTime()
Get 规则创建时间。
|
Long |
getEndTime()
Get 屏蔽结束时间(秒级时间戳)。
|
String |
getOperator()
Get 操作者。
|
String |
getReason()
Get 屏蔽原因。
|
String |
getRule()
Get 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getSource()
Get 规则创建来源。
1.
|
Long |
getStartTime()
Get 屏蔽开始时间(秒级时间戳)。
|
Long |
getStatus()
Get 规则状态。
0:暂未生效,1:生效中,2:已失效
|
String |
getTaskId()
Get 屏蔽规则id
|
Long |
getType()
Get 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。
|
Long |
getUpdateTime()
Get 规则更新时间。
|
void |
setAlarmNoticeId(String AlarmNoticeId)
Set 通知渠道组Id
|
void |
setCreateTime(Long CreateTime)
Set 规则创建时间。
|
void |
setEndTime(Long EndTime)
Set 屏蔽结束时间(秒级时间戳)。
|
void |
setOperator(String Operator)
Set 操作者。
|
void |
setReason(String Reason)
Set 屏蔽原因。
|
void |
setRule(String Rule)
Set 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSource(Long Source)
Set 规则创建来源。
1.
|
void |
setStartTime(Long StartTime)
Set 屏蔽开始时间(秒级时间戳)。
|
void |
setStatus(Long Status)
Set 规则状态。
0:暂未生效,1:生效中,2:已失效
|
void |
setTaskId(String TaskId)
Set 屏蔽规则id
|
void |
setType(Long Type)
Set 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。
|
void |
setUpdateTime(Long UpdateTime)
Set 规则更新时间。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AlarmShieldInfo()
public AlarmShieldInfo(AlarmShieldInfo source)
public String getAlarmNoticeId()
public void setAlarmNoticeId(String AlarmNoticeId)
AlarmNoticeId
- 通知渠道组Idpublic String getTaskId()
public void setTaskId(String TaskId)
TaskId
- 屏蔽规则idpublic Long getStartTime()
public void setStartTime(Long StartTime)
StartTime
- 屏蔽开始时间(秒级时间戳)。public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime
- 屏蔽结束时间(秒级时间戳)。public Long getType()
public void setType(Long Type)
Type
- 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。public String getRule()
public void setRule(String Rule)
Rule
- 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。
注意:此字段可能返回 null,表示取不到有效值。public String getReason()
public void setReason(String Reason)
Reason
- 屏蔽原因。public Long getSource()
public void setSource(Long Source)
Source
- 规则创建来源。
1. 控制台,2.api,3.告警通知public String getOperator()
public void setOperator(String Operator)
Operator
- 操作者。public Long getStatus()
public void setStatus(Long Status)
Status
- 规则状态。
0:暂未生效,1:生效中,2:已失效public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- 规则创建时间。public Long getUpdateTime()
public void setUpdateTime(Long UpdateTime)
UpdateTime
- 规则更新时间。Copyright © 2024. All rights reserved.