Class IpMaxConnections.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.model.IpMaxConnections.Builder
-
- Enclosing class:
- IpMaxConnections
public static class IpMaxConnections.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpMaxConnectionsbuild()IpMaxConnections.Buildercopy(IpMaxConnections model)IpMaxConnections.BuilderipAddresses(List<String> ipAddresses)Each element in the list should be valid IPv4 or IPv6 CIDR Block address.IpMaxConnections.BuildermaxConnections(Integer maxConnections)The maximum number of simultaneous connections that the specified IPs can make to the Listener.
-
-
-
Method Detail
-
ipAddresses
public IpMaxConnections.Builder ipAddresses(List<String> ipAddresses)
Each element in the list should be valid IPv4 or IPv6 CIDR Block address.Example: ‘[“129.213.176.0/24”, “150.136.187.0/24”, “2002::1234:abcd:ffff:c0a8:101/64”]’
- Parameters:
ipAddresses- the value to set- Returns:
- this builder
-
maxConnections
public IpMaxConnections.Builder maxConnections(Integer maxConnections)
The maximum number of simultaneous connections that the specified IPs can make to the Listener.IPs without a maxConnections setting can make either defaultMaxConnections simultaneous connections to a listener or, if no defaultMaxConnections is specified, an unlimited number of simultaneous connections to a listener.
- Parameters:
maxConnections- the value to set- Returns:
- this builder
-
build
public IpMaxConnections build()
-
copy
public IpMaxConnections.Builder copy(IpMaxConnections model)
-
-