public void setCommentsForPullRequestData(java.util.Collection<CommentsForPullRequest> commentsForPullRequestData) {
        if (commentsForPullRequestData == null) {
            this.commentsForPullRequestData = null;
            return;
        }

        this.commentsForPullRequestData = new java.util.ArrayList<CommentsForPullRequest>(commentsForPullRequestData);
    }
<p>
An array of comment objects on the pull request.
</p>

@param commentsForPullRequestData
       An array of comment objects on the pull request.
aws-java-sdk-codecommit/src/main/java/com/amazonaws/services/codecommit/model/GetCommentsForPullRequestResult.java