public GitConfiguration withPullRequest(java.util.Collection<GitPullRequestFilter> pullRequest) {
        setPullRequest(pullRequest);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/GitConfiguration.java