public static interface PutWebhookResponse.Builder extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<PutWebhookResponse.Builder,PutWebhookResponse>
Modifier and Type | Method and Description |
---|---|
default PutWebhookResponse.Builder |
webhook(Consumer<ListWebhookItem.Builder> webhook)
The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.
|
PutWebhookResponse.Builder |
webhook(ListWebhookItem webhook)
The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
PutWebhookResponse.Builder webhook(ListWebhookItem webhook)
The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.
webhook
- The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.default PutWebhookResponse.Builder webhook(Consumer<ListWebhookItem.Builder> webhook)
The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.
This is a convenience that creates an instance of theListWebhookItem.Builder
avoiding the need to
create one manually via ListWebhookItem.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to webhook(ListWebhookItem)
.webhook
- a consumer that will call methods on ListWebhookItem.Builder
webhook(ListWebhookItem)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.