public class BandwidthAlert extends AbstractModel
| Constructor and Description | 
|---|
| BandwidthAlert() | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getBpsThreshold()Get Bandwidth cap threshold (in bps)
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getCounterMeasure()Get Action taken when threshold is reached
RESOLVE_DNS_TO_ORIGIN: requests will be forwarded to the origin server. | 
| String | getLastTriggerTime()Get The last time the bandwidth cap threshold was triggered
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getSwitch()Get Bandwidth cap configuration switch
on: enabled
off: disabled | 
| void | setBpsThreshold(Long BpsThreshold)Set Bandwidth cap threshold (in bps)
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setCounterMeasure(String CounterMeasure)Set Action taken when threshold is reached
RESOLVE_DNS_TO_ORIGIN: requests will be forwarded to the origin server. | 
| void | setLastTriggerTime(String LastTriggerTime)Set The last time the bandwidth cap threshold was triggered
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setSwitch(String Switch)Set Bandwidth cap configuration switch
on: enabled
off: disabled | 
| 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, toJsonStringpublic String getSwitch()
public void setSwitch(String Switch)
Switch - Bandwidth cap configuration switch
on: enabled
off: disabledpublic Long getBpsThreshold()
public void setBpsThreshold(Long BpsThreshold)
BpsThreshold - Bandwidth cap threshold (in bps)
Note: this field may return null, indicating that no valid values can be obtained.public String getCounterMeasure()
public void setCounterMeasure(String CounterMeasure)
CounterMeasure - Action taken when threshold is reached
RESOLVE_DNS_TO_ORIGIN: requests will be forwarded to the origin server. This is only supported for domain names of external origin.
RETURN_404: a 404 error will be returned for all requests.
Note: this field may return null, indicating that no valid values can be obtained.public String getLastTriggerTime()
public void setLastTriggerTime(String LastTriggerTime)
LastTriggerTime - The last time the bandwidth cap threshold was triggered
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.