Class Route.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.Route.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Route>
- Enclosing class:
Route
@Stability(Stable)
public static final class Route.Builder
extends Object
implements software.amazon.jsii.Builder<Route>
A fluent builder for
Route
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static Route.Builder
The service mesh to define the route in.The name of the route.Protocol specific spec.virtualRouter
(IVirtualRouter virtualRouter) The VirtualRouter the Route belongs to.
-
Method Details
-
create
@Stability(Stable) public static Route.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
Route.Builder
.
-
routeSpec
Protocol specific spec.- Parameters:
routeSpec
- Protocol specific spec. This parameter is required.- Returns:
this
-
routeName
The name of the route.Default: - An automatically generated name
- Parameters:
routeName
- The name of the route. This parameter is required.- Returns:
this
-
mesh
The service mesh to define the route in.- Parameters:
mesh
- The service mesh to define the route in. This parameter is required.- Returns:
this
-
virtualRouter
The VirtualRouter the Route belongs to.- Parameters:
virtualRouter
- The VirtualRouter the Route belongs to. This parameter is required.- Returns:
this
-
build
-