public SearchInsightsFilters withSeverities(InsightSeverity... severities) {
        java.util.ArrayList<String> severitiesCopy = new java.util.ArrayList<String>(severities.length);
        for (InsightSeverity value : severities) {
            severitiesCopy.add(value.toString());
        }
        if (getSeverities() == null) {
            setSeverities(severitiesCopy);
        } else {
            getSeverities().addAll(severitiesCopy);
        }
        return this;
    }
<p>
An array of severity values used to search for insights.
</p>

@param severities
       An array of severity values used to search for insights.
@return Returns a reference to this object so that method calls can be chained together.
@see InsightSeverity
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/SearchInsightsFilters.java