Package software.amazon.awssdk.http.crt
Interface TcpKeepAliveConfiguration.Builder
-
- Enclosing class:
- TcpKeepAliveConfiguration
public static interface TcpKeepAliveConfiguration.Builder
A builder forTcpKeepAliveConfiguration
.All implementations of this interface are mutable and not thread safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TcpKeepAliveConfiguration
build()
TcpKeepAliveConfiguration.Builder
keepAliveInterval(Duration keepAliveInterval)
Sets the Duration between TCP keepalive packets being sent to the peerTcpKeepAliveConfiguration.Builder
keepAliveTimeout(Duration keepAliveTimeout)
Sets the Duration to wait for a keepalive response before considering the connection timed out
-
-
-
Method Detail
-
keepAliveInterval
TcpKeepAliveConfiguration.Builder keepAliveInterval(Duration keepAliveInterval)
Sets the Duration between TCP keepalive packets being sent to the peer- Parameters:
keepAliveInterval
- Duration between TCP keepalive packets being sent to the peer- Returns:
- Builder
-
keepAliveTimeout
TcpKeepAliveConfiguration.Builder keepAliveTimeout(Duration keepAliveTimeout)
Sets the Duration to wait for a keepalive response before considering the connection timed out- Parameters:
keepAliveTimeout
- Duration to wait for a keepalive response before considering the connection timed out- Returns:
- Builder
-
build
TcpKeepAliveConfiguration build()
-
-