public class StatisticItem extends AbstractModel
header, skipSign
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 alerts for cumulative usage limit.
|
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 cumulative usage limit.
|
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 alerts for cumulative usage limit.
|
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 cumulative usage limit.
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public 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 alerts for cumulative usage limit. Values:
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid values 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 cumulative usage limit. Values:
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.