public InvalidTopicReviewedAnswer withError(String error) {
        setError(error);
        return this;
    }
<p>
The error that is returned for the <code>InvalidTopicReviewedAnswer</code>.
</p>

@param error
       The error that is returned for the <code>InvalidTopicReviewedAnswer</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ReviewedAnswerErrorCode
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/InvalidTopicReviewedAnswer.java