public AnalyzeExpenseResult withExpenseDocuments(ExpenseDocument... expenseDocuments) {
        if (this.expenseDocuments == null) {
            setExpenseDocuments(new java.util.ArrayList<ExpenseDocument>(expenseDocuments.length));
        }
        for (ExpenseDocument ele : expenseDocuments) {
            this.expenseDocuments.add(ele);
        }
        return this;
    }
<p>
The expenses detected by Amazon Textract.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setExpenseDocuments(java.util.Collection)} or {@link #withExpenseDocuments(java.util.Collection)} if you
want to override the existing values.
</p>

@param expenseDocuments
       The expenses detected by Amazon Textract.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-textract/src/main/java/com/amazonaws/services/textract/model/AnalyzeExpenseResult.java