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