public Builder addFeature(Feature feature) {
            this.features.add(feature);
            return this;
        }
Adds a feature flag to the validator.

@param feature Feature to set.
@return Returns the builder.
smithy-model/src/main/java/software/amazon/smithy/model/validation/NodeValidationVisitor.java