public static interface TcpRoute.Builder extends SdkPojo, CopyableBuilder<TcpRoute.Builder,TcpRoute>
| Modifier and Type | Method and Description |
|---|---|
default TcpRoute.Builder |
action(Consumer<TcpRouteAction.Builder> action)
The action to take if a match is determined.
|
TcpRoute.Builder |
action(TcpRouteAction action)
The action to take if a match is determined.
|
default TcpRoute.Builder |
timeout(Consumer<TcpTimeout.Builder> timeout)
An object that represents types of timeouts.
|
TcpRoute.Builder |
timeout(TcpTimeout timeout)
An object that represents types of timeouts.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTcpRoute.Builder action(TcpRouteAction action)
The action to take if a match is determined.
action - The action to take if a match is determined.default TcpRoute.Builder action(Consumer<TcpRouteAction.Builder> action)
The action to take if a match is determined.
This is a convenience that creates an instance of theTcpRouteAction.Builder avoiding the need to
create one manually via TcpRouteAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to action(TcpRouteAction).action - a consumer that will call methods on TcpRouteAction.Builderaction(TcpRouteAction)TcpRoute.Builder timeout(TcpTimeout timeout)
An object that represents types of timeouts.
timeout - An object that represents types of timeouts.default TcpRoute.Builder timeout(Consumer<TcpTimeout.Builder> timeout)
An object that represents types of timeouts.
This is a convenience that creates an instance of theTcpTimeout.Builder avoiding the need to create
one manually via TcpTimeout.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to timeout(TcpTimeout).timeout - a consumer that will call methods on TcpTimeout.Buildertimeout(TcpTimeout)Copyright © 2021. All rights reserved.