public void setPullRequest(java.util.Collection<GitPullRequestFilter> pullRequest) {
        if (pullRequest == null) {
            this.pullRequest = null;
            return;
        }

        this.pullRequest = new java.util.ArrayList<GitPullRequestFilter>(pullRequest);
    }
<p>
The field where the repository event that will start the pipeline is specified as pull requests.
</p>

@param pullRequest
       The field where the repository event that will start the pipeline is specified as pull requests.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/GitConfiguration.java