Interface ListenerTimeout.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ListenerTimeout.Builder,ListenerTimeout>,SdkBuilder<ListenerTimeout.Builder,ListenerTimeout>,SdkPojo
- Enclosing class:
- ListenerTimeout
public static interface ListenerTimeout.Builder extends SdkPojo, CopyableBuilder<ListenerTimeout.Builder,ListenerTimeout>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListenerTimeout.Buildergrpc(Consumer<GrpcTimeout.Builder> grpc)An object that represents types of timeouts.ListenerTimeout.Buildergrpc(GrpcTimeout grpc)An object that represents types of timeouts.default ListenerTimeout.Builderhttp(Consumer<HttpTimeout.Builder> http)An object that represents types of timeouts.ListenerTimeout.Builderhttp(HttpTimeout http)An object that represents types of timeouts.default ListenerTimeout.Builderhttp2(Consumer<HttpTimeout.Builder> http2)An object that represents types of timeouts.ListenerTimeout.Builderhttp2(HttpTimeout http2)An object that represents types of timeouts.default ListenerTimeout.Buildertcp(Consumer<TcpTimeout.Builder> tcp)An object that represents types of timeouts.ListenerTimeout.Buildertcp(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 Detail
-
grpc
ListenerTimeout.Builder grpc(GrpcTimeout 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
default ListenerTimeout.Builder grpc(Consumer<GrpcTimeout.Builder> grpc)
An object that represents types of timeouts.
This is a convenience method that creates an instance of theGrpcTimeout.Builderavoiding the need to create one manually viaGrpcTimeout.builder().When the
Consumercompletes,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:
grpc(GrpcTimeout)
-
http
ListenerTimeout.Builder http(HttpTimeout 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
default ListenerTimeout.Builder http(Consumer<HttpTimeout.Builder> http)
An object that represents types of timeouts.
This is a convenience method that creates an instance of theHttpTimeout.Builderavoiding the need to create one manually viaHttpTimeout.builder().When the
Consumercompletes,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:
http(HttpTimeout)
-
http2
ListenerTimeout.Builder http2(HttpTimeout 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
default ListenerTimeout.Builder http2(Consumer<HttpTimeout.Builder> http2)
An object that represents types of timeouts.
This is a convenience method that creates an instance of theHttpTimeout.Builderavoiding the need to create one manually viaHttpTimeout.builder().When the
Consumercompletes,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:
http2(HttpTimeout)
-
tcp
ListenerTimeout.Builder tcp(TcpTimeout 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
default ListenerTimeout.Builder tcp(Consumer<TcpTimeout.Builder> tcp)
An object that represents types of timeouts.
This is a convenience method that creates an instance of theTcpTimeout.Builderavoiding the need to create one manually viaTcpTimeout.builder().When the
Consumercompletes,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:
tcp(TcpTimeout)
-
-