public void setEvents(java.util.Collection<String> events) {
        if (events == null) {
            this.events = null;
            return;
        }

        this.events = new java.util.ArrayList<String>(events);
    }
<p>
The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger
configuration.
</p>

@param events
       The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger
       configuration.
@see GitPullRequestEventType
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/GitPullRequestFilter.java