@Stability(value=Stable) public static final class RouteProps.Builder extends Object implements software.amazon.jsii.Builder<RouteProps>
RouteProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RouteProps |
build()
Builds the configured instance.
|
RouteProps.Builder |
mesh(IMesh mesh)
Sets the value of
RouteProps.getMesh() |
RouteProps.Builder |
routeName(String routeName)
Sets the value of
RouteBaseProps.getRouteName() |
RouteProps.Builder |
routeSpec(RouteSpec routeSpec)
Sets the value of
RouteBaseProps.getRouteSpec() |
RouteProps.Builder |
virtualRouter(IVirtualRouter virtualRouter)
Sets the value of
RouteProps.getVirtualRouter() |
@Stability(value=Stable) public RouteProps.Builder mesh(IMesh mesh)
RouteProps.getMesh()mesh - The service mesh to define the route in. This parameter is required.this@Stability(value=Stable) public RouteProps.Builder virtualRouter(IVirtualRouter virtualRouter)
RouteProps.getVirtualRouter()virtualRouter - The VirtualRouter the Route belongs to. This parameter is required.this@Stability(value=Stable) public RouteProps.Builder routeSpec(RouteSpec routeSpec)
RouteBaseProps.getRouteSpec()routeSpec - Protocol specific spec. This parameter is required.this@Stability(value=Stable) public RouteProps.Builder routeName(String routeName)
RouteBaseProps.getRouteName()routeName - The name of the route.this@Stability(value=Stable) public RouteProps build()
build in interface software.amazon.jsii.Builder<RouteProps>RoutePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.