public static final class DescribeWebCCRulesV2ResponseBody.StatusCode.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeWebCCRulesV2ResponseBody.StatusCode |
build() |
DescribeWebCCRulesV2ResponseBody.StatusCode.Builder |
code(Integer code)
The status code.
|
DescribeWebCCRulesV2ResponseBody.StatusCode.Builder |
countThreshold(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.
|
DescribeWebCCRulesV2ResponseBody.StatusCode.Builder |
enabled(Boolean enabled)
Indicates whether the status code is enabled.
|
DescribeWebCCRulesV2ResponseBody.StatusCode.Builder |
ratioThreshold(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.
|
DescribeWebCCRulesV2ResponseBody.StatusCode.Builder |
useRatio(Boolean useRatio)
Indicates whether to use a ratio.
|
public DescribeWebCCRulesV2ResponseBody.StatusCode.Builder code(Integer code)
The status code. Valid values: 100 to 599.
200
public DescribeWebCCRulesV2ResponseBody.StatusCode.Builder countThreshold(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
public DescribeWebCCRulesV2ResponseBody.StatusCode.Builder enabled(Boolean enabled)
Indicates whether the status code is enabled. Valid values:
true
public DescribeWebCCRulesV2ResponseBody.StatusCode.Builder ratioThreshold(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
public DescribeWebCCRulesV2ResponseBody.StatusCode.Builder useRatio(Boolean useRatio)
Indicates whether to use a ratio.
true
public DescribeWebCCRulesV2ResponseBody.StatusCode build()
Copyright © 2026. All rights reserved.