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
Modifier and TypeMethodDescriptiondefault TcpRoute.Builderaction(Consumer<TcpRouteAction.Builder> action) The action to take if a match is determined.action(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.match(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.timeout(TcpTimeout timeout) An object that represents types of timeouts.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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:
-
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
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:
-
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
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:
-