public BatchCreateTopicReviewedAnswerResult withInvalidAnswers(InvalidTopicReviewedAnswer... invalidAnswers) {
        if (this.invalidAnswers == null) {
            setInvalidAnswers(new java.util.ArrayList<InvalidTopicReviewedAnswer>(invalidAnswers.length));
        }
        for (InvalidTopicReviewedAnswer ele : invalidAnswers) {
            this.invalidAnswers.add(ele);
        }
        return this;
    }
<p>
The definition of Answers that are invalid and not created.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInvalidAnswers(java.util.Collection)} or {@link #withInvalidAnswers(java.util.Collection)} if you want
to override the existing values.
</p>

@param invalidAnswers
       The definition of Answers that are invalid and not created.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/BatchCreateTopicReviewedAnswerResult.java