@Stability(value=Stable) public static final class GatewayRouteSpecConfig.Builder extends Object implements software.amazon.jsii.Builder<GatewayRouteSpecConfig>
GatewayRouteSpecConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GatewayRouteSpecConfig |
build()
Builds the configured instance.
|
GatewayRouteSpecConfig.Builder |
grpcSpecConfig(CfnGatewayRoute.GrpcGatewayRouteProperty grpcSpecConfig)
Sets the value of
GatewayRouteSpecConfig.getGrpcSpecConfig() |
GatewayRouteSpecConfig.Builder |
http2SpecConfig(CfnGatewayRoute.HttpGatewayRouteProperty http2SpecConfig)
Sets the value of
GatewayRouteSpecConfig.getHttp2SpecConfig() |
GatewayRouteSpecConfig.Builder |
httpSpecConfig(CfnGatewayRoute.HttpGatewayRouteProperty httpSpecConfig)
Sets the value of
GatewayRouteSpecConfig.getHttpSpecConfig() |
GatewayRouteSpecConfig.Builder |
priority(Number priority)
Sets the value of
GatewayRouteSpecConfig.getPriority() |
@Stability(value=Stable) public GatewayRouteSpecConfig.Builder grpcSpecConfig(CfnGatewayRoute.GrpcGatewayRouteProperty grpcSpecConfig)
GatewayRouteSpecConfig.getGrpcSpecConfig()grpcSpecConfig - The spec for a grpc gateway route.this@Stability(value=Stable) public GatewayRouteSpecConfig.Builder http2SpecConfig(CfnGatewayRoute.HttpGatewayRouteProperty http2SpecConfig)
GatewayRouteSpecConfig.getHttp2SpecConfig()http2SpecConfig - The spec for an http2 gateway route.this@Stability(value=Stable) public GatewayRouteSpecConfig.Builder httpSpecConfig(CfnGatewayRoute.HttpGatewayRouteProperty httpSpecConfig)
GatewayRouteSpecConfig.getHttpSpecConfig()httpSpecConfig - The spec for an http gateway route.this@Stability(value=Stable) public GatewayRouteSpecConfig.Builder priority(Number priority)
GatewayRouteSpecConfig.getPriority()priority - The priority for the gateway route.
When a Virtual Gateway has multiple gateway routes, gateway route match
is performed in the order of specified value, where 0 is the highest priority,
and first matched gateway route is selected.this@Stability(value=Stable) public GatewayRouteSpecConfig build()
build in interface software.amazon.jsii.Builder<GatewayRouteSpecConfig>GatewayRouteSpecConfigNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.