public ListPreparedStatementsResult withPreparedStatements(PreparedStatementSummary... preparedStatements) {
        if (this.preparedStatements == null) {
            setPreparedStatements(new java.util.ArrayList<PreparedStatementSummary>(preparedStatements.length));
        }
        for (PreparedStatementSummary ele : preparedStatements) {
            this.preparedStatements.add(ele);
        }
        return this;
    }
<p>
The list of prepared statements for the workgroup.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPreparedStatements(java.util.Collection)} or {@link #withPreparedStatements(java.util.Collection)} if
you want to override the existing values.
</p>

@param preparedStatements
       The list of prepared statements for the workgroup.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-athena/src/main/java/com/amazonaws/services/athena/model/ListPreparedStatementsResult.java