public Finding withSeverity(Severity severity) {
        setSeverity(severity);
        return this;
    }
<p>
The severity level and score for the finding.
</p>

@param severity
       The severity level and score for the finding.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/Finding.java