public static final class DescribeNetworkRuleAttributesResponseBody.Slimit.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeNetworkRuleAttributesResponseBody.Slimit.Builder |
bps(Long bps)
The bandwidth limit for a source IP address.
|
DescribeNetworkRuleAttributesResponseBody.Slimit |
build() |
DescribeNetworkRuleAttributesResponseBody.Slimit.Builder |
cps(Integer cps)
The maximum number of new connections per second that can be initiated from a source IP address.
|
DescribeNetworkRuleAttributesResponseBody.Slimit.Builder |
cpsEnable(Integer cpsEnable)
The status of the Source New Connection Rate Limit switch.
|
DescribeNetworkRuleAttributesResponseBody.Slimit.Builder |
cpsMode(Integer cpsMode)
The mode of the Source New Connection Rate Limit switch.
|
DescribeNetworkRuleAttributesResponseBody.Slimit.Builder |
maxconn(Integer maxconn)
The maximum number of concurrent connections initiated from a source IP address.
|
DescribeNetworkRuleAttributesResponseBody.Slimit.Builder |
maxconnEnable(Integer maxconnEnable)
The status of the Source Concurrent Connection Rate Limit switch.
|
DescribeNetworkRuleAttributesResponseBody.Slimit.Builder |
pps(Long pps)
The packets per second (pps) limit for a source IP address.
|
public DescribeNetworkRuleAttributesResponseBody.Slimit.Builder bps(Long bps)
The bandwidth limit for a source IP address. Valid values: 1024 to 268435456. Unit: bytes/s. Default value: 0, which indicates that the bandwidth for a source IP address is unlimited.
example:0
public DescribeNetworkRuleAttributesResponseBody.Slimit.Builder cps(Integer cps)
The maximum number of new connections per second that can be initiated from a source IP address. Valid values: 1 to 500000.
example:0
public DescribeNetworkRuleAttributesResponseBody.Slimit.Builder cpsEnable(Integer cpsEnable)
The status of the Source New Connection Rate Limit switch. Valid values:
0
public DescribeNetworkRuleAttributesResponseBody.Slimit.Builder cpsMode(Integer cpsMode)
The mode of the Source New Connection Rate Limit switch. Valid values:
1
public DescribeNetworkRuleAttributesResponseBody.Slimit.Builder maxconn(Integer maxconn)
The maximum number of concurrent connections initiated from a source IP address. Valid values: 1 to 500000.
example:0
public DescribeNetworkRuleAttributesResponseBody.Slimit.Builder maxconnEnable(Integer maxconnEnable)
The status of the Source Concurrent Connection Rate Limit switch. Valid values:
0
public DescribeNetworkRuleAttributesResponseBody.Slimit.Builder pps(Long pps)
The packets per second (pps) limit for a source IP address. Valid values: 1 to 100000. Unit: packets/s. Default value: 0, which indicates that the pps for a source IP address is unlimited.
example:0
public DescribeNetworkRuleAttributesResponseBody.Slimit build()
Copyright © 2026. All rights reserved.