public static final class CfnRoute.TcpRouteMatchProperty.Builder
extends java.lang.Object
CfnRoute.TcpRouteMatchProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnRoute.TcpRouteMatchProperty |
build()
Builds the configured instance.
|
CfnRoute.TcpRouteMatchProperty.Builder |
port(java.lang.Number port)
Sets the value of
CfnRoute.TcpRouteMatchProperty.getPort() |
public CfnRoute.TcpRouteMatchProperty.Builder port(java.lang.Number port)
CfnRoute.TcpRouteMatchProperty.getPort()
port
- The port number to match on.this
public CfnRoute.TcpRouteMatchProperty build()
CfnRoute.TcpRouteMatchProperty
java.lang.NullPointerException
- if any required attribute was not provided