public RouteSpec withGrpcRoute(GrpcRoute grpcRoute) {
        setGrpcRoute(grpcRoute);
        return this;
    }
<p>
An object that represents the specification of a gRPC route.
</p>

@param grpcRoute
       An object that represents the specification of a gRPC 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