public class BandwidthAlert extends AbstractModel
Constructor and Description |
---|
BandwidthAlert() |
BandwidthAlert(BandwidthAlert 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 |
---|---|
Long |
getAlertPercentage()
Get 用量封顶阈值提醒百分比
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getAlertSwitch()
Get 用量封顶提醒开关
on:开启
off:关闭
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getBpsThreshold()
Get 用量封顶阈值,带宽单位为bps,流量单位byte
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getCounterMeasure()
Get 达到阈值后的操作
RETURN_404:全部请求返回 404
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getLastTriggerTime()
Get 境内区域上次触发用量封顶阈值的时间
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getLastTriggerTimeOverseas()
Get 海外区域上次触发用量封顶阈值的时间
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getMetric()
Get 用量阈值触发的维度
带宽:bandwidth
流量:flux
注意:此字段可能返回 null,表示取不到有效值。
|
StatisticItem[] |
getStatisticItems()
Get 累计用量配置
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get 用量封顶配置开关
on:开启
off:关闭
|
void |
setAlertPercentage(Long AlertPercentage)
Set 用量封顶阈值提醒百分比
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAlertSwitch(String AlertSwitch)
Set 用量封顶提醒开关
on:开启
off:关闭
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setBpsThreshold(Long BpsThreshold)
Set 用量封顶阈值,带宽单位为bps,流量单位byte
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCounterMeasure(String CounterMeasure)
Set 达到阈值后的操作
RETURN_404:全部请求返回 404
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLastTriggerTime(String LastTriggerTime)
Set 境内区域上次触发用量封顶阈值的时间
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLastTriggerTimeOverseas(String LastTriggerTimeOverseas)
Set 海外区域上次触发用量封顶阈值的时间
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMetric(String Metric)
Set 用量阈值触发的维度
带宽:bandwidth
流量:flux
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setStatisticItems(StatisticItem[] StatisticItems)
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 BandwidthAlert()
public BandwidthAlert(BandwidthAlert source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 用量封顶配置开关
on:开启
off:关闭public Long getBpsThreshold()
public void setBpsThreshold(Long BpsThreshold)
BpsThreshold
- 用量封顶阈值,带宽单位为bps,流量单位byte
注意:此字段可能返回 null,表示取不到有效值。public String getCounterMeasure()
public void setCounterMeasure(String CounterMeasure)
CounterMeasure
- 达到阈值后的操作
RETURN_404:全部请求返回 404
注意:此字段可能返回 null,表示取不到有效值。public String getLastTriggerTime()
public void setLastTriggerTime(String LastTriggerTime)
LastTriggerTime
- 境内区域上次触发用量封顶阈值的时间
注意:此字段可能返回 null,表示取不到有效值。public String getAlertSwitch()
public void setAlertSwitch(String AlertSwitch)
AlertSwitch
- 用量封顶提醒开关
on:开启
off:关闭
注意:此字段可能返回 null,表示取不到有效值。public Long getAlertPercentage()
public void setAlertPercentage(Long AlertPercentage)
AlertPercentage
- 用量封顶阈值提醒百分比
注意:此字段可能返回 null,表示取不到有效值。public String getLastTriggerTimeOverseas()
public void setLastTriggerTimeOverseas(String LastTriggerTimeOverseas)
LastTriggerTimeOverseas
- 海外区域上次触发用量封顶阈值的时间
注意:此字段可能返回 null,表示取不到有效值。public String getMetric()
public void setMetric(String Metric)
Metric
- 用量阈值触发的维度
带宽:bandwidth
流量:flux
注意:此字段可能返回 null,表示取不到有效值。public StatisticItem[] getStatisticItems()
public void setStatisticItems(StatisticItem[] StatisticItems)
StatisticItems
- 累计用量配置
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.