Interface GatewayRouteSpec.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GatewayRouteSpec.Builder,,GatewayRouteSpec> SdkBuilder<GatewayRouteSpec.Builder,,GatewayRouteSpec> SdkPojo
- Enclosing class:
GatewayRouteSpec
-
Method Summary
Modifier and TypeMethodDescriptiondefault GatewayRouteSpec.BuildergrpcRoute(Consumer<GrpcGatewayRoute.Builder> grpcRoute) An object that represents the specification of a gRPC gateway route.grpcRoute(GrpcGatewayRoute grpcRoute) An object that represents the specification of a gRPC gateway route.default GatewayRouteSpec.Builderhttp2Route(Consumer<HttpGatewayRoute.Builder> http2Route) An object that represents the specification of an HTTP/2 gateway route.http2Route(HttpGatewayRoute http2Route) An object that represents the specification of an HTTP/2 gateway route.default GatewayRouteSpec.BuilderhttpRoute(Consumer<HttpGatewayRoute.Builder> httpRoute) An object that represents the specification of an HTTP gateway route.httpRoute(HttpGatewayRoute httpRoute) An object that represents the specification of an HTTP gateway route.The ordering of the gateway routes spec.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, sdkFieldNameToField, sdkFields
-
Method Details
-
grpcRoute
An object that represents the specification of a gRPC gateway route.
- Parameters:
grpcRoute- An object that represents the specification of a gRPC gateway 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 gateway route.
This is a convenience method that creates an instance of theGrpcGatewayRoute.Builderavoiding the need to create one manually viaGrpcGatewayRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togrpcRoute(GrpcGatewayRoute).- Parameters:
grpcRoute- a consumer that will call methods onGrpcGatewayRoute.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 gateway route.
- Parameters:
http2Route- An object that represents the specification of an HTTP/2 gateway 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 gateway route.
This is a convenience method that creates an instance of theHttpGatewayRoute.Builderavoiding the need to create one manually viaHttpGatewayRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohttp2Route(HttpGatewayRoute).- Parameters:
http2Route- a consumer that will call methods onHttpGatewayRoute.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 gateway route.
- Parameters:
httpRoute- An object that represents the specification of an HTTP gateway 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 gateway route.
This is a convenience method that creates an instance of theHttpGatewayRoute.Builderavoiding the need to create one manually viaHttpGatewayRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohttpRoute(HttpGatewayRoute).- Parameters:
httpRoute- a consumer that will call methods onHttpGatewayRoute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The ordering of the gateway routes spec.
- Parameters:
priority- The ordering of the gateway routes spec.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-