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 |
match(Consumer<TcpRouteMatch.Builder> match)
An object that represents the criteria for determining a request match.
|
TcpRoute.Builder |
match(TcpRouteMatch match)
An object that represents the criteria for determining a request match.
|
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 method 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 match(TcpRouteMatch match)
An object that represents the criteria for determining a request match.
match - An object that represents the criteria for determining a request match.default TcpRoute.Builder match(Consumer<TcpRouteMatch.Builder> match)
An object that represents the criteria for determining a request match.
This is a convenience method that creates an instance of theTcpRouteMatch.Builder avoiding the need
to create one manually via TcpRouteMatch.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to match(TcpRouteMatch).
match - a consumer that will call methods on TcpRouteMatch.Buildermatch(TcpRouteMatch)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 method 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 © 2023. All rights reserved.