public class BandwidthAlert extends AbstractModel
Constructor and Description |
---|
BandwidthAlert() |
Modifier and Type | Method and Description |
---|---|
Long |
getBpsThreshold()
Get 带宽封顶阈值,单位为bps
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getCounterMeasure()
Get 达到阈值后的操作
RESOLVE_DNS_TO_ORIGIN:直接回源,仅自有源站域名支持
RETURN_404:全部请求返回 404
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getLastTriggerTime()
Get 上次触发带宽封顶阈值的时间
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get 带宽封顶配置开关
on:开启
off:关闭
|
void |
setBpsThreshold(Long BpsThreshold)
Set 带宽封顶阈值,单位为bps
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCounterMeasure(String CounterMeasure)
Set 达到阈值后的操作
RESOLVE_DNS_TO_ORIGIN:直接回源,仅自有源站域名支持
RETURN_404:全部请求返回 404
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLastTriggerTime(String LastTriggerTime)
Set 上次触发带宽封顶阈值的时间
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set 带宽封顶配置开关
on:开启
off:关闭
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 带宽封顶配置开关
on:开启
off:关闭public Long getBpsThreshold()
public void setBpsThreshold(Long BpsThreshold)
BpsThreshold
- 带宽封顶阈值,单位为bps
注意:此字段可能返回 null,表示取不到有效值。public String getCounterMeasure()
public void setCounterMeasure(String CounterMeasure)
CounterMeasure
- 达到阈值后的操作
RESOLVE_DNS_TO_ORIGIN:直接回源,仅自有源站域名支持
RETURN_404:全部请求返回 404
注意:此字段可能返回 null,表示取不到有效值。public String getLastTriggerTime()
public void setLastTriggerTime(String LastTriggerTime)
LastTriggerTime
- 上次触发带宽封顶阈值的时间
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2020. All rights reserved.