public RouteSpec withHttp2Route(HttpRoute http2Route) {
        setHttp2Route(http2Route);
        return this;
    }
<p>
An object that represents the specification of an HTTP/2 route.
</p>

@param http2Route
       An object that represents the specification of an HTTP/2 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