public static final class DescribeWebCCRulesV2ResponseBody.RateLimit.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeWebCCRulesV2ResponseBody.RateLimit |
build() |
DescribeWebCCRulesV2ResponseBody.RateLimit.Builder |
interval(Integer interval)
The statistical period.
|
DescribeWebCCRulesV2ResponseBody.RateLimit.Builder |
subKey(String subKey)
The name of the field.
|
DescribeWebCCRulesV2ResponseBody.RateLimit.Builder |
target(String target)
The statistical method.
|
DescribeWebCCRulesV2ResponseBody.RateLimit.Builder |
threshold(Integer threshold)
The trigger threshold.
|
DescribeWebCCRulesV2ResponseBody.RateLimit.Builder |
ttl(Integer ttl)
The blocking duration.
|
public DescribeWebCCRulesV2ResponseBody.RateLimit.Builder interval(Integer interval)
The statistical period. Unit: seconds.
example:60
public DescribeWebCCRulesV2ResponseBody.RateLimit.Builder subKey(String subKey)
The name of the field. This parameter is required only when the Target parameter is set to header.
example:action
public DescribeWebCCRulesV2ResponseBody.RateLimit.Builder target(String target)
The statistical method. Valid values:
ip
public DescribeWebCCRulesV2ResponseBody.RateLimit.Builder threshold(Integer threshold)
The trigger threshold.
example:20
public DescribeWebCCRulesV2ResponseBody.RateLimit.Builder ttl(Integer ttl)
The blocking duration. Unit: seconds.
example:15
public DescribeWebCCRulesV2ResponseBody.RateLimit build()
Copyright © 2026. All rights reserved.