Interface PutWebhookResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodePipelineResponse.Builder
,CopyableBuilder<PutWebhookResponse.Builder,
,PutWebhookResponse> SdkBuilder<PutWebhookResponse.Builder,
,PutWebhookResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutWebhookResponse
public static interface PutWebhookResponse.Builder
extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<PutWebhookResponse.Builder,PutWebhookResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PutWebhookResponse.Builder
webhook
(Consumer<ListWebhookItem.Builder> webhook) The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.webhook
(ListWebhookItem webhook) The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.Methods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
webhook
The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.
- Parameters:
webhook
- The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webhook
The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.
This is a convenience method that creates an instance of theListWebhookItem.Builder
avoiding the need to create one manually viaListWebhookItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towebhook(ListWebhookItem)
.- Parameters:
webhook
- a consumer that will call methods onListWebhookItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-