public static class IpBasedMaxConnectionsRule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
IpBasedMaxConnectionsRule |
build() |
IpBasedMaxConnectionsRule.Builder |
copy(IpBasedMaxConnectionsRule model) |
IpBasedMaxConnectionsRule.Builder |
defaultMaxConnections(Integer defaultMaxConnections)
The maximum number of connections that the any IP can make to a listener unless the IP is
mentioned in maxConnections.
|
IpBasedMaxConnectionsRule.Builder |
ipMaxConnections(List<IpMaxConnections> ipMaxConnections)
An array of IPs that have a maxConnection setting different than the default and what
that maxConnection setting is
|
public IpBasedMaxConnectionsRule.Builder defaultMaxConnections(Integer defaultMaxConnections)
The maximum number of connections that the any IP can make to a listener unless the IP is mentioned in maxConnections. If no defaultMaxConnections is specified the default is unlimited.
defaultMaxConnections
- the value to setpublic IpBasedMaxConnectionsRule.Builder ipMaxConnections(List<IpMaxConnections> ipMaxConnections)
An array of IPs that have a maxConnection setting different than the default and what that maxConnection setting is
ipMaxConnections
- the value to setpublic IpBasedMaxConnectionsRule build()
public IpBasedMaxConnectionsRule.Builder copy(IpBasedMaxConnectionsRule model)
Copyright © 2016–2024. All rights reserved.