Interface CreateWebhookResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodeBuildResponse.Builder, CopyableBuilder<CreateWebhookResponse.Builder,CreateWebhookResponse>, SdkBuilder<CreateWebhookResponse.Builder,CreateWebhookResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateWebhookResponse

public static interface CreateWebhookResponse.Builder extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<CreateWebhookResponse.Builder,CreateWebhookResponse>
  • Method Details

    • webhook

      Information about a webhook that connects repository events to a build project in CodeBuild.

      Parameters:
      webhook - Information about a webhook that connects repository events to a build project in CodeBuild.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • webhook

      Information about a webhook that connects repository events to a build project in CodeBuild.

      This is a convenience method that creates an instance of the Webhook.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).

      Parameters:
      webhook - a consumer that will call methods on Webhook.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: