public static interface CreateWebhookResponse.Builder extends CodeBuildResponse.Builder, CopyableBuilder<CreateWebhookResponse.Builder,CreateWebhookResponse>
Modifier and Type | Method and Description |
---|---|
default CreateWebhookResponse.Builder |
webhook(Consumer<Webhook.Builder> webhook)
Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.
|
CreateWebhookResponse.Builder |
webhook(Webhook webhook)
Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.
|
build
copy
apply, build
CreateWebhookResponse.Builder webhook(Webhook webhook)
Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.
webhook
- Information about a webhook in GitHub that connects repository events to a build project in AWS
CodeBuild.default CreateWebhookResponse.Builder webhook(Consumer<Webhook.Builder> webhook)
Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.
This is a convenience that creates an instance of theWebhook.Builder
avoiding the need to create one
manually via Webhook.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to webhook(Webhook)
.webhook
- a consumer that will call methods on Webhook.Builder
webhook(Webhook)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.