Interface RouteSpec.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<RouteSpec.Builder,,RouteSpec> SdkBuilder<RouteSpec.Builder,,RouteSpec> SdkPojo
- Enclosing class:
 RouteSpec
- 
Method Summary
Modifier and TypeMethodDescriptiondefault RouteSpec.BuildergrpcRoute(Consumer<GrpcRoute.Builder> grpcRoute) An object that represents the specification of a gRPC route.An object that represents the specification of a gRPC route.default RouteSpec.Builderhttp2Route(Consumer<HttpRoute.Builder> http2Route) An object that represents the specification of an HTTP/2 route.http2Route(HttpRoute http2Route) An object that represents the specification of an HTTP/2 route.default RouteSpec.BuilderhttpRoute(Consumer<HttpRoute.Builder> httpRoute) An object that represents the specification of an HTTP route.An object that represents the specification of an HTTP route.The priority for the route.default RouteSpec.BuildertcpRoute(Consumer<TcpRoute.Builder> tcpRoute) An object that represents the specification of a TCP route.An object that represents the specification of a TCP route.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
- 
grpcRoute
An object that represents the specification of a gRPC route.
- Parameters:
 grpcRoute- An object that represents the specification of a gRPC route.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
grpcRoute
An object that represents the specification of a gRPC route.
This is a convenience method that creates an instance of theGrpcRoute.Builderavoiding the need to create one manually viaGrpcRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togrpcRoute(GrpcRoute).- Parameters:
 grpcRoute- a consumer that will call methods onGrpcRoute.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
http2Route
An object that represents the specification of an HTTP/2 route.
- Parameters:
 http2Route- An object that represents the specification of an HTTP/2 route.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
http2Route
An object that represents the specification of an HTTP/2 route.
This is a convenience method that creates an instance of theHttpRoute.Builderavoiding the need to create one manually viaHttpRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohttp2Route(HttpRoute).- Parameters:
 http2Route- a consumer that will call methods onHttpRoute.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
httpRoute
An object that represents the specification of an HTTP route.
- Parameters:
 httpRoute- An object that represents the specification of an HTTP route.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
httpRoute
An object that represents the specification of an HTTP route.
This is a convenience method that creates an instance of theHttpRoute.Builderavoiding the need to create one manually viaHttpRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohttpRoute(HttpRoute).- Parameters:
 httpRoute- a consumer that will call methods onHttpRoute.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
priority
The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.
- Parameters:
 priority- The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
tcpRoute
An object that represents the specification of a TCP route.
- Parameters:
 tcpRoute- An object that represents the specification of a TCP route.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
tcpRoute
An object that represents the specification of a TCP route.
This is a convenience method that creates an instance of theTcpRoute.Builderavoiding the need to create one manually viaTcpRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totcpRoute(TcpRoute).- Parameters:
 tcpRoute- a consumer that will call methods onTcpRoute.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -