Class CfnRoute.TcpRouteMatchProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnRoute.TcpRouteMatchProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoute.TcpRouteMatchProperty>
- Enclosing interface:
CfnRoute.TcpRouteMatchProperty
@Stability(Stable)
public static final class CfnRoute.TcpRouteMatchProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoute.TcpRouteMatchProperty>
A builder for
CfnRoute.TcpRouteMatchProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnRoute.TcpRouteMatchProperty.getPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
port
Sets the value ofCfnRoute.TcpRouteMatchProperty.getPort()
- Parameters:
port
- The port number to match on.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRoute.TcpRouteMatchProperty>
- Returns:
- a new instance of
CfnRoute.TcpRouteMatchProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-