@Stability(value=Stable) public static final class RouteSpecConfig.Builder extends Object implements software.amazon.jsii.Builder<RouteSpecConfig>
RouteSpecConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RouteSpecConfig |
build()
Builds the configured instance.
|
RouteSpecConfig.Builder |
grpcRouteSpec(CfnRoute.GrpcRouteProperty grpcRouteSpec)
Sets the value of
RouteSpecConfig.getGrpcRouteSpec() |
RouteSpecConfig.Builder |
http2RouteSpec(CfnRoute.HttpRouteProperty http2RouteSpec)
Sets the value of
RouteSpecConfig.getHttp2RouteSpec() |
RouteSpecConfig.Builder |
httpRouteSpec(CfnRoute.HttpRouteProperty httpRouteSpec)
Sets the value of
RouteSpecConfig.getHttpRouteSpec() |
RouteSpecConfig.Builder |
priority(Number priority)
Sets the value of
RouteSpecConfig.getPriority() |
RouteSpecConfig.Builder |
tcpRouteSpec(CfnRoute.TcpRouteProperty tcpRouteSpec)
Sets the value of
RouteSpecConfig.getTcpRouteSpec() |
@Stability(value=Stable) public RouteSpecConfig.Builder grpcRouteSpec(CfnRoute.GrpcRouteProperty grpcRouteSpec)
RouteSpecConfig.getGrpcRouteSpec()grpcRouteSpec - The spec for a grpc route.this@Stability(value=Stable) public RouteSpecConfig.Builder http2RouteSpec(CfnRoute.HttpRouteProperty http2RouteSpec)
RouteSpecConfig.getHttp2RouteSpec()http2RouteSpec - The spec for an http2 route.this@Stability(value=Stable) public RouteSpecConfig.Builder httpRouteSpec(CfnRoute.HttpRouteProperty httpRouteSpec)
RouteSpecConfig.getHttpRouteSpec()httpRouteSpec - The spec for an http route.this@Stability(value=Stable) public RouteSpecConfig.Builder priority(Number priority)
RouteSpecConfig.getPriority()priority - The priority for the route.
When a Virtual Router has multiple routes, route match is performed in the
order of specified value, where 0 is the highest priority, and first matched route is selected.this@Stability(value=Stable) public RouteSpecConfig.Builder tcpRouteSpec(CfnRoute.TcpRouteProperty tcpRouteSpec)
RouteSpecConfig.getTcpRouteSpec()tcpRouteSpec - The spec for a tcp route.this@Stability(value=Stable) public RouteSpecConfig build()
build in interface software.amazon.jsii.Builder<RouteSpecConfig>RouteSpecConfigNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.