Interface TcpRoute.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TcpRoute.Builder,TcpRoute>,SdkBuilder<TcpRoute.Builder,TcpRoute>,SdkPojo
- Enclosing class:
- TcpRoute
public static interface TcpRoute.Builder extends SdkPojo, CopyableBuilder<TcpRoute.Builder,TcpRoute>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TcpRoute.Builderaction(Consumer<TcpRouteAction.Builder> action)The action to take if a match is determined.TcpRoute.Builderaction(TcpRouteAction action)The action to take if a match is determined.default TcpRoute.Buildermatch(Consumer<TcpRouteMatch.Builder> match)An object that represents the criteria for determining a request match.TcpRoute.Buildermatch(TcpRouteMatch match)An object that represents the criteria for determining a request match.default TcpRoute.Buildertimeout(Consumer<TcpTimeout.Builder> timeout)An object that represents types of timeouts.TcpRoute.Buildertimeout(TcpTimeout timeout)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
-
action
TcpRoute.Builder action(TcpRouteAction action)
The action to take if a match is determined.
- Parameters:
action- The action to take if a match is determined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
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.Builderavoiding the need to create one manually viaTcpRouteAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaction(TcpRouteAction).- Parameters:
action- a consumer that will call methods onTcpRouteAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
action(TcpRouteAction)
-
match
TcpRoute.Builder match(TcpRouteMatch match)
An object that represents the criteria for determining a request match.
- Parameters:
match- An object that represents the criteria for determining a request match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaTcpRouteMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatch(TcpRouteMatch).- Parameters:
match- a consumer that will call methods onTcpRouteMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
match(TcpRouteMatch)
-
timeout
TcpRoute.Builder timeout(TcpTimeout timeout)
An object that represents types of timeouts.
- Parameters:
timeout- An object that represents types of timeouts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeout
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.Builderavoiding the need to create one manually viaTcpTimeout.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeout(TcpTimeout).- Parameters:
timeout- 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:
timeout(TcpTimeout)
-
-