public Builder events(List<ValidationEvent> events) {
            this.events.clear();
            events.forEach(this::addEvent);
            return this;
        }
Sets the validation events of the projection.

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