public static interface TcpTimeout.Builder extends SdkPojo, CopyableBuilder<TcpTimeout.Builder,TcpTimeout>
| Modifier and Type | Method and Description |
|---|---|
default TcpTimeout.Builder |
idle(Consumer<Duration.Builder> idle)
An object that represents an idle timeout.
|
TcpTimeout.Builder |
idle(Duration idle)
An object that represents an idle timeout.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTcpTimeout.Builder idle(Duration idle)
An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.
idle - An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection
may be idle. The default value is none.default TcpTimeout.Builder idle(Consumer<Duration.Builder> idle)
An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.
This is a convenience that creates an instance of theDuration.Builder avoiding the need to create
one manually via Duration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to idle(Duration).idle - a consumer that will call methods on Duration.Builderidle(Duration)Copyright © 2021. All rights reserved.