public void setSeverity(String severity) {
        this.severity = severity;
    }
<p>
The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified
threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for
the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.
</p>

@param severity
       The severity to assign to a finding: if the number of occurrences is greater than or equal to the
       specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the
       threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.
@see DataIdentifierSeverity
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/SeverityLevel.java