Class IpBasedMaxConnectionsRule.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.model.IpBasedMaxConnectionsRule.Builder
-
- Enclosing class:
- IpBasedMaxConnectionsRule
public static class IpBasedMaxConnectionsRule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpBasedMaxConnectionsRulebuild()IpBasedMaxConnectionsRule.Buildercopy(IpBasedMaxConnectionsRule model)IpBasedMaxConnectionsRule.BuilderdefaultMaxConnections(Integer defaultMaxConnections)The maximum number of connections that the any IP can make to a listener unless the IP is mentioned in maxConnections.IpBasedMaxConnectionsRule.BuilderipMaxConnections(List<IpMaxConnections> ipMaxConnections)An array of IPs that have a maxConnection setting different than the default and what that maxConnection setting is
-
-
-
Method Detail
-
defaultMaxConnections
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.
- Parameters:
defaultMaxConnections- the value to set- Returns:
- this builder
-
ipMaxConnections
public 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- Parameters:
ipMaxConnections- the value to set- Returns:
- this builder
-
build
public IpBasedMaxConnectionsRule build()
-
copy
public IpBasedMaxConnectionsRule.Builder copy(IpBasedMaxConnectionsRule model)
-
-