public static interface GatewayRouteSpec.Builder extends SdkPojo, CopyableBuilder<GatewayRouteSpec.Builder,GatewayRouteSpec>
| Modifier and Type | Method and Description |
|---|---|
default GatewayRouteSpec.Builder |
grpcRoute(Consumer<GrpcGatewayRoute.Builder> grpcRoute)
An object that represents the specification of a gRPC gateway route.
|
GatewayRouteSpec.Builder |
grpcRoute(GrpcGatewayRoute grpcRoute)
An object that represents the specification of a gRPC gateway route.
|
default GatewayRouteSpec.Builder |
http2Route(Consumer<HttpGatewayRoute.Builder> http2Route)
An object that represents the specification of an HTTP/2 gateway route.
|
GatewayRouteSpec.Builder |
http2Route(HttpGatewayRoute http2Route)
An object that represents the specification of an HTTP/2 gateway route.
|
default GatewayRouteSpec.Builder |
httpRoute(Consumer<HttpGatewayRoute.Builder> httpRoute)
An object that represents the specification of an HTTP gateway route.
|
GatewayRouteSpec.Builder |
httpRoute(HttpGatewayRoute httpRoute)
An object that represents the specification of an HTTP gateway route.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGatewayRouteSpec.Builder grpcRoute(GrpcGatewayRoute grpcRoute)
An object that represents the specification of a gRPC gateway route.
grpcRoute - An object that represents the specification of a gRPC gateway route.default GatewayRouteSpec.Builder grpcRoute(Consumer<GrpcGatewayRoute.Builder> grpcRoute)
An object that represents the specification of a gRPC gateway route.
This is a convenience that creates an instance of theGrpcGatewayRoute.Builder avoiding the need to
create one manually via GrpcGatewayRoute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to grpcRoute(GrpcGatewayRoute).grpcRoute - a consumer that will call methods on GrpcGatewayRoute.BuildergrpcRoute(GrpcGatewayRoute)GatewayRouteSpec.Builder http2Route(HttpGatewayRoute http2Route)
An object that represents the specification of an HTTP/2 gateway route.
http2Route - An object that represents the specification of an HTTP/2 gateway route.default GatewayRouteSpec.Builder http2Route(Consumer<HttpGatewayRoute.Builder> http2Route)
An object that represents the specification of an HTTP/2 gateway route.
This is a convenience that creates an instance of theHttpGatewayRoute.Builder avoiding the need to
create one manually via HttpGatewayRoute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to http2Route(HttpGatewayRoute).http2Route - a consumer that will call methods on HttpGatewayRoute.Builderhttp2Route(HttpGatewayRoute)GatewayRouteSpec.Builder httpRoute(HttpGatewayRoute httpRoute)
An object that represents the specification of an HTTP gateway route.
httpRoute - An object that represents the specification of an HTTP gateway route.default GatewayRouteSpec.Builder httpRoute(Consumer<HttpGatewayRoute.Builder> httpRoute)
An object that represents the specification of an HTTP gateway route.
This is a convenience that creates an instance of theHttpGatewayRoute.Builder avoiding the need to
create one manually via HttpGatewayRoute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to httpRoute(HttpGatewayRoute).httpRoute - a consumer that will call methods on HttpGatewayRoute.BuilderhttpRoute(HttpGatewayRoute)Copyright © 2021. All rights reserved.