Class RouteBaseProps.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.RouteBaseProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RouteBaseProps>
- Enclosing interface:
RouteBaseProps
@Stability(Stable)
public static final class RouteBaseProps.Builder
extends Object
implements software.amazon.jsii.Builder<RouteBaseProps>
A builder for
RouteBaseProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofRouteBaseProps.getRouteName()Sets the value ofRouteBaseProps.getRouteSpec()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
routeSpec
Sets the value ofRouteBaseProps.getRouteSpec()- Parameters:
routeSpec- Protocol specific spec. This parameter is required.- Returns:
this
-
routeName
Sets the value ofRouteBaseProps.getRouteName()- Parameters:
routeName- The name of the route.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RouteBaseProps>- Returns:
- a new instance of
RouteBaseProps - Throws:
NullPointerException- if any required attribute was not provided
-