Class BandwidthAlert
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdn.v20180606.models.BandwidthAlert
-
public class BandwidthAlert extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetAlertPercentage()Get 用量封顶阈值提醒百分比 注意:此字段可能返回 null,表示取不到有效值。StringgetAlertSwitch()Get 用量封顶提醒配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。LonggetBpsThreshold()Get 用量封顶阈值,带宽单位为bps,流量单位byte 注意:此字段可能返回 null,表示取不到有效值。StringgetCounterMeasure()Get 达到阈值后的操作 RETURN_404:全部请求返回 404 注意:此字段可能返回 null,表示取不到有效值。StringgetLastTriggerTime()Get 境内区域上次触发用量封顶阈值的时间 注意:此字段可能返回 null,表示取不到有效值。StringgetLastTriggerTimeOverseas()Get 海外区域上次触发用量封顶阈值的时间 注意:此字段可能返回 null,表示取不到有效值。StringgetMetric()Get 用量阈值触发的维度 带宽:bandwidth 流量:flux 注意:此字段可能返回 null,表示取不到有效值。StatisticItem[]getStatisticItems()Get 累计用量配置 注意:此字段可能返回 null,表示取不到有效值。StringgetSwitch()Get 用量封顶配置开关,取值有: on:开启 off:关闭voidsetAlertPercentage(Long AlertPercentage)Set 用量封顶阈值提醒百分比 注意:此字段可能返回 null,表示取不到有效值。voidsetAlertSwitch(String AlertSwitch)Set 用量封顶提醒配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。voidsetBpsThreshold(Long BpsThreshold)Set 用量封顶阈值,带宽单位为bps,流量单位byte 注意:此字段可能返回 null,表示取不到有效值。voidsetCounterMeasure(String CounterMeasure)Set 达到阈值后的操作 RETURN_404:全部请求返回 404 注意:此字段可能返回 null,表示取不到有效值。voidsetLastTriggerTime(String LastTriggerTime)Set 境内区域上次触发用量封顶阈值的时间 注意:此字段可能返回 null,表示取不到有效值。voidsetLastTriggerTimeOverseas(String LastTriggerTimeOverseas)Set 海外区域上次触发用量封顶阈值的时间 注意:此字段可能返回 null,表示取不到有效值。voidsetMetric(String Metric)Set 用量阈值触发的维度 带宽:bandwidth 流量:flux 注意:此字段可能返回 null,表示取不到有效值。voidsetStatisticItems(StatisticItem[] StatisticItems)Set 累计用量配置 注意:此字段可能返回 null,表示取不到有效值。voidsetSwitch(String Switch)Set 用量封顶配置开关,取值有: on:开启 off:关闭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
-
BandwidthAlert
public BandwidthAlert()
-
BandwidthAlert
public 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.
-
-
Method Detail
-
getSwitch
public String getSwitch()
Get 用量封顶配置开关,取值有: on:开启 off:关闭- Returns:
- Switch 用量封顶配置开关,取值有: on:开启 off:关闭
-
setSwitch
public void setSwitch(String Switch)
Set 用量封顶配置开关,取值有: on:开启 off:关闭- Parameters:
Switch- 用量封顶配置开关,取值有: on:开启 off:关闭
-
getBpsThreshold
public Long getBpsThreshold()
Get 用量封顶阈值,带宽单位为bps,流量单位byte 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- BpsThreshold 用量封顶阈值,带宽单位为bps,流量单位byte 注意:此字段可能返回 null,表示取不到有效值。
-
setBpsThreshold
public void setBpsThreshold(Long BpsThreshold)
Set 用量封顶阈值,带宽单位为bps,流量单位byte 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
BpsThreshold- 用量封顶阈值,带宽单位为bps,流量单位byte 注意:此字段可能返回 null,表示取不到有效值。
-
getCounterMeasure
public String getCounterMeasure()
Get 达到阈值后的操作 RETURN_404:全部请求返回 404 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CounterMeasure 达到阈值后的操作 RETURN_404:全部请求返回 404 注意:此字段可能返回 null,表示取不到有效值。
-
setCounterMeasure
public void setCounterMeasure(String CounterMeasure)
Set 达到阈值后的操作 RETURN_404:全部请求返回 404 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CounterMeasure- 达到阈值后的操作 RETURN_404:全部请求返回 404 注意:此字段可能返回 null,表示取不到有效值。
-
getLastTriggerTime
public String getLastTriggerTime()
Get 境内区域上次触发用量封顶阈值的时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- LastTriggerTime 境内区域上次触发用量封顶阈值的时间 注意:此字段可能返回 null,表示取不到有效值。
-
setLastTriggerTime
public void setLastTriggerTime(String LastTriggerTime)
Set 境内区域上次触发用量封顶阈值的时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
LastTriggerTime- 境内区域上次触发用量封顶阈值的时间 注意:此字段可能返回 null,表示取不到有效值。
-
getAlertSwitch
public String getAlertSwitch()
Get 用量封顶提醒配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AlertSwitch 用量封顶提醒配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
-
setAlertSwitch
public void setAlertSwitch(String AlertSwitch)
Set 用量封顶提醒配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AlertSwitch- 用量封顶提醒配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
-
getAlertPercentage
public Long getAlertPercentage()
Get 用量封顶阈值提醒百分比 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AlertPercentage 用量封顶阈值提醒百分比 注意:此字段可能返回 null,表示取不到有效值。
-
setAlertPercentage
public void setAlertPercentage(Long AlertPercentage)
Set 用量封顶阈值提醒百分比 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AlertPercentage- 用量封顶阈值提醒百分比 注意:此字段可能返回 null,表示取不到有效值。
-
getLastTriggerTimeOverseas
public String getLastTriggerTimeOverseas()
Get 海外区域上次触发用量封顶阈值的时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- LastTriggerTimeOverseas 海外区域上次触发用量封顶阈值的时间 注意:此字段可能返回 null,表示取不到有效值。
-
setLastTriggerTimeOverseas
public void setLastTriggerTimeOverseas(String LastTriggerTimeOverseas)
Set 海外区域上次触发用量封顶阈值的时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
LastTriggerTimeOverseas- 海外区域上次触发用量封顶阈值的时间 注意:此字段可能返回 null,表示取不到有效值。
-
getMetric
public String getMetric()
Get 用量阈值触发的维度 带宽:bandwidth 流量:flux 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Metric 用量阈值触发的维度 带宽:bandwidth 流量:flux 注意:此字段可能返回 null,表示取不到有效值。
-
setMetric
public void setMetric(String Metric)
Set 用量阈值触发的维度 带宽:bandwidth 流量:flux 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Metric- 用量阈值触发的维度 带宽:bandwidth 流量:flux 注意:此字段可能返回 null,表示取不到有效值。
-
getStatisticItems
public StatisticItem[] getStatisticItems()
Get 累计用量配置 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- StatisticItems 累计用量配置 注意:此字段可能返回 null,表示取不到有效值。
-
setStatisticItems
public void setStatisticItems(StatisticItem[] StatisticItems)
Set 累计用量配置 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
StatisticItems- 累计用量配置 注意:此字段可能返回 null,表示取不到有效值。
-
-