public EvaluateCodeResult withLogs(String... logs) {
        if (this.logs == null) {
            setLogs(new java.util.ArrayList<String>(logs.length));
        }
        for (String ele : logs) {
            this.logs.add(ele);
        }
        return this;
    }
<p>
A list of logs that were generated by calls to <code>util.log.info</code> and <code>util.log.error</code> in the
evaluated code.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLogs(java.util.Collection)} or {@link #withLogs(java.util.Collection)} if you want to override the
existing values.
</p>

@param logs
       A list of logs that were generated by calls to <code>util.log.info</code> and <code>util.log.error</code>
       in the evaluated code.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/EvaluateCodeResult.java