public static interface RouteSpec.Builder extends SdkPojo, CopyableBuilder<RouteSpec.Builder,RouteSpec>
| Modifier and Type | Method and Description |
|---|---|
default RouteSpec.Builder |
grpcRoute(Consumer<GrpcRoute.Builder> grpcRoute)
An object that represents the specification of a gRPC route.
|
RouteSpec.Builder |
grpcRoute(GrpcRoute grpcRoute)
An object that represents the specification of a gRPC route.
|
default RouteSpec.Builder |
http2Route(Consumer<HttpRoute.Builder> http2Route)
An object that represents the specification of an HTTP/2 route.
|
RouteSpec.Builder |
http2Route(HttpRoute http2Route)
An object that represents the specification of an HTTP/2 route.
|
default RouteSpec.Builder |
httpRoute(Consumer<HttpRoute.Builder> httpRoute)
An object that represents the specification of an HTTP route.
|
RouteSpec.Builder |
httpRoute(HttpRoute httpRoute)
An object that represents the specification of an HTTP route.
|
RouteSpec.Builder |
priority(Integer priority)
The priority for the route.
|
default RouteSpec.Builder |
tcpRoute(Consumer<TcpRoute.Builder> tcpRoute)
An object that represents the specification of a TCP route.
|
RouteSpec.Builder |
tcpRoute(TcpRoute tcpRoute)
An object that represents the specification of a TCP route.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRouteSpec.Builder grpcRoute(GrpcRoute grpcRoute)
An object that represents the specification of a gRPC route.
grpcRoute - An object that represents the specification of a gRPC route.default RouteSpec.Builder grpcRoute(Consumer<GrpcRoute.Builder> grpcRoute)
An object that represents the specification of a gRPC route.
This is a convenience that creates an instance of theGrpcRoute.Builder avoiding the need to create
one manually via GrpcRoute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to grpcRoute(GrpcRoute).grpcRoute - a consumer that will call methods on GrpcRoute.BuildergrpcRoute(GrpcRoute)RouteSpec.Builder http2Route(HttpRoute http2Route)
An object that represents the specification of an HTTP/2 route.
http2Route - An object that represents the specification of an HTTP/2 route.default RouteSpec.Builder http2Route(Consumer<HttpRoute.Builder> http2Route)
An object that represents the specification of an HTTP/2 route.
This is a convenience that creates an instance of theHttpRoute.Builder avoiding the need to create
one manually via HttpRoute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to http2Route(HttpRoute).http2Route - a consumer that will call methods on HttpRoute.Builderhttp2Route(HttpRoute)RouteSpec.Builder httpRoute(HttpRoute httpRoute)
An object that represents the specification of an HTTP route.
httpRoute - An object that represents the specification of an HTTP route.default RouteSpec.Builder httpRoute(Consumer<HttpRoute.Builder> httpRoute)
An object that represents the specification of an HTTP route.
This is a convenience that creates an instance of theHttpRoute.Builder avoiding the need to create
one manually via HttpRoute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to httpRoute(HttpRoute).httpRoute - a consumer that will call methods on HttpRoute.BuilderhttpRoute(HttpRoute)RouteSpec.Builder priority(Integer priority)
The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.
priority - The priority for the route. Routes are matched based on the specified value, where 0 is the highest
priority.RouteSpec.Builder tcpRoute(TcpRoute tcpRoute)
An object that represents the specification of a TCP route.
tcpRoute - An object that represents the specification of a TCP route.default RouteSpec.Builder tcpRoute(Consumer<TcpRoute.Builder> tcpRoute)
An object that represents the specification of a TCP route.
This is a convenience that creates an instance of theTcpRoute.Builder avoiding the need to create
one manually via TcpRoute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to tcpRoute(TcpRoute).tcpRoute - a consumer that will call methods on TcpRoute.BuildertcpRoute(TcpRoute)Copyright © 2021. All rights reserved.