public Builder severity(Severity severity) {
            this.severity = Objects.requireNonNull(severity);
            return this;
        }
Sets the required severity of the event.
@param severity Event severity.
@return Returns the builder.
smithy-model/src/main/java/software/amazon/smithy/model/validation/ValidationEvent.java