public static final class DescribeNetworkRuleAttributesResponseBody.Sblack.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeNetworkRuleAttributesResponseBody.Sblack |
build() |
DescribeNetworkRuleAttributesResponseBody.Sblack.Builder |
cnt(Integer cnt)
The threshold that the number of connections initiated from a source IP address can exceed the limit.
|
DescribeNetworkRuleAttributesResponseBody.Sblack.Builder |
during(Integer during)
The interval at which checks are performed.
|
DescribeNetworkRuleAttributesResponseBody.Sblack.Builder |
expires(Integer expires)
The validity period of the IP address in the blacklist.
|
DescribeNetworkRuleAttributesResponseBody.Sblack.Builder |
type(Integer type)
The type of the limit that causes a source IP address to be added to the blacklist.
|
public DescribeNetworkRuleAttributesResponseBody.Sblack.Builder cnt(Integer cnt)
The threshold that the number of connections initiated from a source IP address can exceed the limit. Set the value to 5. If the number of connections initiated from a source IP address exceeds the limit five times during the check, the source IP address is added to the blacklist.
example:5
public DescribeNetworkRuleAttributesResponseBody.Sblack.Builder during(Integer during)
The interval at which checks are performed. Set the value to 60. Unit: seconds.
example:60
public DescribeNetworkRuleAttributesResponseBody.Sblack.Builder expires(Integer expires)
The validity period of the IP address in the blacklist. Valid values: 60 to 604800. Unit: seconds.
example:600
public DescribeNetworkRuleAttributesResponseBody.Sblack.Builder type(Integer type)
The type of the limit that causes a source IP address to be added to the blacklist. Valid values:
1
public DescribeNetworkRuleAttributesResponseBody.Sblack build()
Copyright © 2026. All rights reserved.