public String getBranchFilter() {
        return this.branchFilter;
    }
<p>
A regular expression used to determine which repository branches are built when a webhook is triggered. If the
name of a branch matches the regular expression, then it is built. If <code>branchFilter</code> is empty, then
all branches are built.
</p>
<note>
<p>
It is recommended that you use <code>filterGroups</code> instead of <code>branchFilter</code>.
</p>
</note>

@return A regular expression used to determine which repository branches are built when a webhook is triggered.
        If the name of a branch matches the regular expression, then it is built. If <code>branchFilter</code> is
        empty, then all branches are built.</p> <note>
        <p>
        It is recommended that you use <code>filterGroups</code> instead of <code>branchFilter</code>.
        </p>
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/UpdateWebhookRequest.java