public DescribePullRequestEventsResult withPullRequestEvents(PullRequestEvent... pullRequestEvents) {
        if (this.pullRequestEvents == null) {
            setPullRequestEvents(new java.util.ArrayList<PullRequestEvent>(pullRequestEvents.length));
        }
        for (PullRequestEvent ele : pullRequestEvents) {
            this.pullRequestEvents.add(ele);
        }
        return this;
    }
<p>
Information about the pull request events.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPullRequestEvents(java.util.Collection)} or {@link #withPullRequestEvents(java.util.Collection)} if
you want to override the existing values.
</p>

@param pullRequestEvents
       Information about the pull request events.
@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/DescribePullRequestEventsResult.java