public Builder model(Model model) {
            this.model = model;
            return this;
        }
Sets the <strong>required</strong> model to use when traversing
walking shapes during validation.

@param model Model that contains shapes to validate.
@return Returns the builder.
smithy-model/src/main/java/software/amazon/smithy/model/validation/NodeValidationVisitor.java