public SearchInsightsFilters withSeverities(String... severities) {
        if (this.severities == null) {
            setSeverities(new java.util.ArrayList<String>(severities.length));
        }
        for (String ele : severities) {
            this.severities.add(ele);
        }
        return this;
    }
<p>
An array of severity values used to search for insights.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSeverities(java.util.Collection)} or {@link #withSeverities(java.util.Collection)} if you want to
override the existing values.
</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