Interface ListenerTimeout.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ListenerTimeout.Builder,
,ListenerTimeout> SdkBuilder<ListenerTimeout.Builder,
,ListenerTimeout> SdkPojo
- Enclosing class:
ListenerTimeout
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListenerTimeout.Builder
grpc
(Consumer<GrpcTimeout.Builder> grpc) An object that represents types of timeouts.grpc
(GrpcTimeout grpc) An object that represents types of timeouts.default ListenerTimeout.Builder
http
(Consumer<HttpTimeout.Builder> http) An object that represents types of timeouts.http
(HttpTimeout http) An object that represents types of timeouts.default ListenerTimeout.Builder
http2
(Consumer<HttpTimeout.Builder> http2) An object that represents types of timeouts.http2
(HttpTimeout http2) An object that represents types of timeouts.default ListenerTimeout.Builder
tcp
(Consumer<TcpTimeout.Builder> tcp) An object that represents types of timeouts.tcp
(TcpTimeout tcp) An object that represents types of timeouts.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
grpc
An object that represents types of timeouts.
- Parameters:
grpc
- An object that represents types of timeouts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grpc
An object that represents types of timeouts.
This is a convenience method that creates an instance of theGrpcTimeout.Builder
avoiding the need to create one manually viaGrpcTimeout.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togrpc(GrpcTimeout)
.- Parameters:
grpc
- a consumer that will call methods onGrpcTimeout.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
http
An object that represents types of timeouts.
- Parameters:
http
- An object that represents types of timeouts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
http
An object that represents types of timeouts.
This is a convenience method that creates an instance of theHttpTimeout.Builder
avoiding the need to create one manually viaHttpTimeout.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohttp(HttpTimeout)
.- Parameters:
http
- a consumer that will call methods onHttpTimeout.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
http2
An object that represents types of timeouts.
- Parameters:
http2
- An object that represents types of timeouts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
http2
An object that represents types of timeouts.
This is a convenience method that creates an instance of theHttpTimeout.Builder
avoiding the need to create one manually viaHttpTimeout.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohttp2(HttpTimeout)
.- Parameters:
http2
- a consumer that will call methods onHttpTimeout.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tcp
An object that represents types of timeouts.
- Parameters:
tcp
- An object that represents types of timeouts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tcp
An object that represents types of timeouts.
This is a convenience method that creates an instance of theTcpTimeout.Builder
avoiding the need to create one manually viaTcpTimeout.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totcp(TcpTimeout)
.- Parameters:
tcp
- a consumer that will call methods onTcpTimeout.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-