public SeverityLevel withOccurrencesThreshold(Long occurrencesThreshold) {
        setOccurrencesThreshold(occurrencesThreshold);
        return this;
    }
<p>
The minimum number of occurrences of text that must match the custom data identifier's detection criteria in
order to produce a finding with the specified severity (severity).
</p>

@param occurrencesThreshold
       The minimum number of occurrences of text that must match the custom data identifier's detection criteria
       in order to produce a finding with the specified severity (severity).
@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/SeverityLevel.java