public RouteSpec withTcpRoute(TcpRoute tcpRoute) {
        setTcpRoute(tcpRoute);
        return this;
    }
<p>
An object that represents the specification of a TCP route.
</p>

@param tcpRoute
       An object that represents the specification of a TCP route.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/RouteSpec.java