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