public static final class DescribeNetworkRuleAttributesResponseBody.Slimit.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
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)
public DescribeNetworkRuleAttributesResponseBody.Slimit.Builder cps(Integer cps)
public DescribeNetworkRuleAttributesResponseBody.Slimit.Builder cpsEnable(Integer cpsEnable)
* **0**: The switch is turned off. * **1**: The switch is turned on.
public DescribeNetworkRuleAttributesResponseBody.Slimit.Builder cpsMode(Integer cpsMode)
* **1**: the manual mode * **2**: the automatic mode
public DescribeNetworkRuleAttributesResponseBody.Slimit.Builder maxconn(Integer maxconn)
public DescribeNetworkRuleAttributesResponseBody.Slimit.Builder maxconnEnable(Integer maxconnEnable)
* **0**: The switch is turned off. * **1**: The switch is turned on.
public DescribeNetworkRuleAttributesResponseBody.Slimit.Builder pps(Long pps)
public DescribeNetworkRuleAttributesResponseBody.Slimit build()
Copyright © 2023. All rights reserved.