public UpdateWebhookRequest withBuildType(WebhookBuildType buildType) {
        this.buildType = buildType.toString();
        return this;
    }
<p>
Specifies the type of build this webhook will trigger.
</p>

@param buildType
       Specifies the type of build this webhook will trigger.
@return Returns a reference to this object so that method calls can be chained together.
@see WebhookBuildType
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/UpdateWebhookRequest.java