Class ConnectionConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.model.ConnectionConfiguration.Builder
-
- Enclosing class:
- ConnectionConfiguration
public static class ConnectionConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionConfiguration.Builder
backendTcpProxyProtocolOptions(List<ConnectionConfiguration.BackendTcpProxyProtocolOptions> backendTcpProxyProtocolOptions)
An array that represents the PPV2 Options that can be enabled on TCP Listeners.ConnectionConfiguration.Builder
backendTcpProxyProtocolVersion(Integer backendTcpProxyProtocolVersion)
The backend TCP Proxy Protocol version.ConnectionConfiguration
build()
ConnectionConfiguration.Builder
copy(ConnectionConfiguration model)
ConnectionConfiguration.Builder
idleTimeout(Long idleTimeout)
The maximum idle time, in seconds, allowed between two successive receive or two successive send operations between the client and backend servers.
-
-
-
Method Detail
-
idleTimeout
public ConnectionConfiguration.Builder idleTimeout(Long idleTimeout)
The maximum idle time, in seconds, allowed between two successive receive or two successive send operations between the client and backend servers.A send operation does not reset the timer for receive operations. A receive operation does not reset the timer for send operations.
For more information, see [Connection Configuration](https://docs.oracle.com/iaas/Content/Balance/Reference/connectionreuse.htm#ConnectionConfiguration).
Example: 1200
- Parameters:
idleTimeout
- the value to set- Returns:
- this builder
-
backendTcpProxyProtocolVersion
public ConnectionConfiguration.Builder backendTcpProxyProtocolVersion(Integer backendTcpProxyProtocolVersion)
The backend TCP Proxy Protocol version.Example: 1
- Parameters:
backendTcpProxyProtocolVersion
- the value to set- Returns:
- this builder
-
backendTcpProxyProtocolOptions
public ConnectionConfiguration.Builder backendTcpProxyProtocolOptions(List<ConnectionConfiguration.BackendTcpProxyProtocolOptions> backendTcpProxyProtocolOptions)
An array that represents the PPV2 Options that can be enabled on TCP Listeners.Example: [“PP2_TYPE_AUTHORITY”]
- Parameters:
backendTcpProxyProtocolOptions
- the value to set- Returns:
- this builder
-
build
public ConnectionConfiguration build()
-
copy
public ConnectionConfiguration.Builder copy(ConnectionConfiguration model)
-
-