public LambdaFunctionAggregation withRuntimes(StringFilter... runtimes) {
        if (this.runtimes == null) {
            setRuntimes(new java.util.ArrayList<StringFilter>(runtimes.length));
        }
        for (StringFilter ele : runtimes) {
            this.runtimes.add(ele);
        }
        return this;
    }
<p>
Returns findings aggregated by Amazon Web Services Lambda function runtime environments.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRuntimes(java.util.Collection)} or {@link #withRuntimes(java.util.Collection)} if you want to override
the existing values.
</p>

@param runtimes
       Returns findings aggregated by Amazon Web Services Lambda function runtime environments.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/LambdaFunctionAggregation.java