Class CfnGatewayRoute.GatewayRouteVirtualServiceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnGatewayRoute.GatewayRouteVirtualServiceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRoute.GatewayRouteVirtualServiceProperty>
- Enclosing interface:
CfnGatewayRoute.GatewayRouteVirtualServiceProperty
@Stability(Stable)
public static final class CfnGatewayRoute.GatewayRouteVirtualServiceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRoute.GatewayRouteVirtualServiceProperty>
A builder for
CfnGatewayRoute.GatewayRouteVirtualServiceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.virtualServiceName
(String virtualServiceName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
virtualServiceName
@Stability(Stable) public CfnGatewayRoute.GatewayRouteVirtualServiceProperty.Builder virtualServiceName(String virtualServiceName) - Parameters:
virtualServiceName
- The name of the virtual service that traffic is routed to. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGatewayRoute.GatewayRouteVirtualServiceProperty>
- Returns:
- a new instance of
CfnGatewayRoute.GatewayRouteVirtualServiceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-