public GetCommentsForPullRequestResult withCommentsForPullRequestData(java.util.Collection<CommentsForPullRequest> commentsForPullRequestData) {
        setCommentsForPullRequestData(commentsForPullRequestData);
        return this;
    }
<p>
An array of comment objects on the pull request.
</p>

@param commentsForPullRequestData
       An array of comment objects on the pull request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codecommit/src/main/java/com/amazonaws/services/codecommit/model/GetCommentsForPullRequestResult.java