public static class DescribeWebCCRulesV2ResponseBody.DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
code
The status code.
|
Integer |
countThreshold
If a ratio is not used, the handling action is triggered only when the number of requests of the corresponding status code reaches the value of CountThreshold.
|
Boolean |
enabled
Indicates whether the status code is enabled.
|
Integer |
ratioThreshold
If a ratio is used, the handling action is triggered only when the number of requests of the corresponding status code reaches the value of RatioThreshold.
|
Boolean |
useRatio
Indicates whether to use a ratio.
|
| 构造器和说明 |
|---|
DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode() |
@NameInMap(value="Code") public Integer code
The status code. Valid values: 100 to 599.
200
@NameInMap(value="CountThreshold") public Integer countThreshold
If a ratio is not used, the handling action is triggered only when the number of requests of the corresponding status code reaches the value of CountThreshold. Valid values: 2 to 50000.
example:10
@NameInMap(value="Enabled") public Boolean enabled
Indicates whether the status code is enabled. Valid values:
true
@NameInMap(value="RatioThreshold") public Integer ratioThreshold
If a ratio is used, the handling action is triggered only when the number of requests of the corresponding status code reaches the value of RatioThreshold. Valid values: 1 to 100.
example:10
@NameInMap(value="UseRatio") public Boolean useRatio
Indicates whether to use a ratio.
true
public DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode()
public static DescribeWebCCRulesV2ResponseBody.DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode build(Map<String,?> map) throws Exception
Exceptionpublic DescribeWebCCRulesV2ResponseBody.DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode setCode(Integer code)
public Integer getCode()
public DescribeWebCCRulesV2ResponseBody.DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode setCountThreshold(Integer countThreshold)
public Integer getCountThreshold()
public DescribeWebCCRulesV2ResponseBody.DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode setEnabled(Boolean enabled)
public Boolean getEnabled()
public DescribeWebCCRulesV2ResponseBody.DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode setRatioThreshold(Integer ratioThreshold)
public Integer getRatioThreshold()
public DescribeWebCCRulesV2ResponseBody.DescribeWebCCRulesV2ResponseBodyWebCCRulesRuleDetailStatusCode setUseRatio(Boolean useRatio)
public Boolean getUseRatio()
Copyright © 2026. All rights reserved.