public Project withWebhook(Webhook webhook) {
        setWebhook(webhook);
        return this;
    }
<p>
Information about a webhook that connects repository events to a build project in CodeBuild.
</p>

@param webhook
       Information about a webhook that connects repository events to a build project in CodeBuild.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/Project.java