public TestResult withFunctionExecutionLogs(String... functionExecutionLogs) {
        if (this.functionExecutionLogs == null) {
            setFunctionExecutionLogs(new com.amazonaws.internal.SdkInternalList<String>(functionExecutionLogs.length));
        }
        for (String ele : functionExecutionLogs) {
            this.functionExecutionLogs.add(ele);
        }
        return this;
    }
<p>
Contains the log lines that the function wrote (if any) when running the test.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFunctionExecutionLogs(java.util.Collection)} or
{@link #withFunctionExecutionLogs(java.util.Collection)} if you want to override the existing values.
</p>

@param functionExecutionLogs
       Contains the log lines that the function wrote (if any) when running the test.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/TestResult.java