public class StatisticItem extends AbstractModel
| Constructor and Description | 
|---|
| StatisticItem() | 
| StatisticItem(StatisticItem 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 Threshold (in percentage) that triggers alarms
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getAlertSwitch()Get Whether to enable the alarm threshold trigger. | 
| Long | getBpsThreshold()Get Bandwidth/Traffic threshold
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getCounterMeasure()Get Specifies how to disable CDN service when the threshold is exceeded. | 
| Long | getCycle()Get | 
| String | getMetric()Get Metric type. | 
| String | getSwitch()Get Whether to enable usage limit configuration. | 
| String | getType()Get Type of usage limit. | 
| Long | getUnBlockTime()Get Unblocking time
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setAlertPercentage(Long AlertPercentage)Set Threshold (in percentage) that triggers alarms
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setAlertSwitch(String AlertSwitch)Set Whether to enable the alarm threshold trigger. | 
| void | setBpsThreshold(Long BpsThreshold)Set Bandwidth/Traffic threshold
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setCounterMeasure(String CounterMeasure)Set Specifies how to disable CDN service when the threshold is exceeded. | 
| void | setCycle(Long Cycle)Set | 
| void | setMetric(String Metric)Set Metric type. | 
| void | setSwitch(String Switch)Set Whether to enable usage limit configuration. | 
| void | setType(String Type)Set Type of usage limit. | 
| void | setUnBlockTime(Long UnBlockTime)Set Unblocking time
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| 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 StatisticItem()
public StatisticItem(StatisticItem source)
public String getType()
public void setType(String Type)
Type - Type of usage limit. `total`: Cumulative usage; `moment`: Instantaneous usage.
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getUnBlockTime()
public void setUnBlockTime(Long UnBlockTime)
UnBlockTime - Unblocking time
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getBpsThreshold()
public void setBpsThreshold(Long BpsThreshold)
BpsThreshold - Bandwidth/Traffic threshold
Note: This field may return `null`, indicating that no valid value can be obtained.public String getCounterMeasure()
public void setCounterMeasure(String CounterMeasure)
CounterMeasure - Specifies how to disable CDN service when the threshold is exceeded. `RETURN_404`: Return 404; `RESOLVE_DNS_TO_ORIGIN`: Forward to origin server.
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getAlertPercentage()
public void setAlertPercentage(Long AlertPercentage)
AlertPercentage - Threshold (in percentage) that triggers alarms
Note: This field may return `null`, indicating that no valid value can be obtained.public String getAlertSwitch()
public void setAlertSwitch(String AlertSwitch)
AlertSwitch - Whether to enable the alarm threshold trigger. Values: `on`, `off`.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getMetric()
public void setMetric(String Metric)
Metric - Metric type. `flux`: Traffic; `bandwidth`: Bandwidth.
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getCycle()
public void setCycle(Long Cycle)
Cycle - public String getSwitch()
public void setSwitch(String Switch)
Switch - Whether to enable usage limit configuration. Values: `on`, `off`.
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2022. All rights reserved.