Class DefaultAlarmThreshold
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.antiddos.v20200309.models.DefaultAlarmThreshold
-
public class DefaultAlarmThreshold extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DefaultAlarmThreshold()DefaultAlarmThreshold(DefaultAlarmThreshold 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetAlarmThreshold()Get 告警阈值,单位Mbps,取值>=0;当作为输入参数时,设置0会删除告警阈值配置;LonggetAlarmType()Get 告警阈值类型,取值[ 1(入流量告警阈值) 2(攻击清洗流量告警阈值) ]voidsetAlarmThreshold(Long AlarmThreshold)Set 告警阈值,单位Mbps,取值>=0;当作为输入参数时,设置0会删除告警阈值配置;voidsetAlarmType(Long AlarmType)Set 告警阈值类型,取值[ 1(入流量告警阈值) 2(攻击清洗流量告警阈值) ]voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DefaultAlarmThreshold
public DefaultAlarmThreshold()
-
DefaultAlarmThreshold
public DefaultAlarmThreshold(DefaultAlarmThreshold 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.
-
-
Method Detail
-
getAlarmType
public Long getAlarmType()
Get 告警阈值类型,取值[ 1(入流量告警阈值) 2(攻击清洗流量告警阈值) ]- Returns:
- AlarmType 告警阈值类型,取值[ 1(入流量告警阈值) 2(攻击清洗流量告警阈值) ]
-
setAlarmType
public void setAlarmType(Long AlarmType)
Set 告警阈值类型,取值[ 1(入流量告警阈值) 2(攻击清洗流量告警阈值) ]- Parameters:
AlarmType- 告警阈值类型,取值[ 1(入流量告警阈值) 2(攻击清洗流量告警阈值) ]
-
getAlarmThreshold
public Long getAlarmThreshold()
Get 告警阈值,单位Mbps,取值>=0;当作为输入参数时,设置0会删除告警阈值配置;- Returns:
- AlarmThreshold 告警阈值,单位Mbps,取值>=0;当作为输入参数时,设置0会删除告警阈值配置;
-
setAlarmThreshold
public void setAlarmThreshold(Long AlarmThreshold)
Set 告警阈值,单位Mbps,取值>=0;当作为输入参数时,设置0会删除告警阈值配置;- Parameters:
AlarmThreshold- 告警阈值,单位Mbps,取值>=0;当作为输入参数时,设置0会删除告警阈值配置;
-
-