public void setHttp2Route(HttpRoute http2Route) {
        this.http2Route = http2Route;
    }
<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.
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/RouteSpec.java