public Builder events(List<ValidationEvent> events) {
            this.events = Objects.requireNonNull(events);
            return this;
        }
Sets the validation events that occurred after projecting the model.

@param events Validation events to set.
@return Returns the builder.
smithy-build/src/main/java/software/amazon/smithy/build/PluginContext.java