public FindingFilter withSeverities(Severity... severities) {
        java.util.ArrayList<String> severitiesCopy = new java.util.ArrayList<String>(severities.length);
        for (Severity value : severities) {
            severitiesCopy.add(value.toString());
        }
        if (getSeverities() == null) {
            setSeverities(severitiesCopy);
        } else {
            getSeverities().addAll(severitiesCopy);
        }
        return this;
    }
<p>
For a record to match a filter, one of the values that is specified for this data type property must be the exact
match of the value of the <b>severity</b> property of the <a>Finding</a> data type.
</p>

@param severities
       For a record to match a filter, one of the values that is specified for this data type property must be
       the exact match of the value of the <b>severity</b> property of the <a>Finding</a> data type.
@return Returns a reference to this object so that method calls can be chained together.
@see Severity
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/FindingFilter.java