Class TcpKeepAliveConfiguration

java.lang.Object
software.amazon.awssdk.http.crt.TcpKeepAliveConfiguration

public final class TcpKeepAliveConfiguration extends Object
Configuration that defines keep-alive options for all connections established by the TcpKeepAliveConfiguration.
  • Method Details

    • keepAliveInterval

      public Duration keepAliveInterval()
      Returns:
      number of seconds between TCP keepalive packets being sent to the peer
    • keepAliveTimeout

      public Duration keepAliveTimeout()
      Returns:
      number of seconds to wait for a keepalive response before considering the connection timed out
    • builder

      public static TcpKeepAliveConfiguration.Builder builder()