public Builder addEvent(ValidationEvent event) {
            events.get().add(Objects.requireNonNull(event));
            return this;
        }
Adds validation events to the result.

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