Interface TcpTimeout.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TcpTimeout.Builder,,TcpTimeout> SdkBuilder<TcpTimeout.Builder,,TcpTimeout> SdkPojo
- Enclosing class:
TcpTimeout
@Mutable
@NotThreadSafe
public static interface TcpTimeout.Builder
extends SdkPojo, CopyableBuilder<TcpTimeout.Builder,TcpTimeout>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TcpTimeout.Builderidle(Consumer<Duration.Builder> idle) An object that represents an idle timeout.An object that represents an idle timeout.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theDuration.Builderavoiding the need to create one manually viaDuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidle(Duration).- Parameters:
idle- a consumer that will call methods onDuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-