Interface GatewayRouteSpec.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GatewayRouteSpec.Builder,GatewayRouteSpec>,SdkBuilder<GatewayRouteSpec.Builder,GatewayRouteSpec>,SdkPojo
- Enclosing class:
- GatewayRouteSpec
public static interface GatewayRouteSpec.Builder extends SdkPojo, CopyableBuilder<GatewayRouteSpec.Builder,GatewayRouteSpec>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GatewayRouteSpec.BuildergrpcRoute(Consumer<GrpcGatewayRoute.Builder> grpcRoute)An object that represents the specification of a gRPC gateway route.GatewayRouteSpec.BuildergrpcRoute(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.GatewayRouteSpec.Builderhttp2Route(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.GatewayRouteSpec.BuilderhttpRoute(HttpGatewayRoute httpRoute)An object that represents the specification of an HTTP gateway route.GatewayRouteSpec.Builderpriority(Integer priority)The ordering of the gateway routes spec.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
grpcRoute
GatewayRouteSpec.Builder grpcRoute(GrpcGatewayRoute 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
default GatewayRouteSpec.Builder grpcRoute(Consumer<GrpcGatewayRoute.Builder> 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:
grpcRoute(GrpcGatewayRoute)
-
http2Route
GatewayRouteSpec.Builder http2Route(HttpGatewayRoute 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
default GatewayRouteSpec.Builder http2Route(Consumer<HttpGatewayRoute.Builder> 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:
http2Route(HttpGatewayRoute)
-
httpRoute
GatewayRouteSpec.Builder httpRoute(HttpGatewayRoute 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
default GatewayRouteSpec.Builder httpRoute(Consumer<HttpGatewayRoute.Builder> 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:
httpRoute(HttpGatewayRoute)
-
priority
GatewayRouteSpec.Builder priority(Integer 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.
-
-