public LambdaFunctionAggregation withFunctionNames(StringFilter... functionNames) {
        if (this.functionNames == null) {
            setFunctionNames(new java.util.ArrayList<StringFilter>(functionNames.length));
        }
        for (StringFilter ele : functionNames) {
            this.functionNames.add(ele);
        }
        return this;
    }
<p>
The Amazon Web Services Lambda function names to include in the aggregation results.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFunctionNames(java.util.Collection)} or {@link #withFunctionNames(java.util.Collection)} if you want
to override the existing values.
</p>

@param functionNames
       The Amazon Web Services Lambda function names to include in the aggregation results.
@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