public static interface ListWebhookItem.Builder extends SdkPojo, CopyableBuilder<ListWebhookItem.Builder,ListWebhookItem>
| Modifier and Type | Method and Description |
|---|---|
ListWebhookItem.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the webhook.
|
default ListWebhookItem.Builder |
definition(Consumer<WebhookDefinition.Builder> definition)
The detail returned for each webhook, such as the webhook authentication type and filter rules.
|
ListWebhookItem.Builder |
definition(WebhookDefinition definition)
The detail returned for each webhook, such as the webhook authentication type and filter rules.
|
ListWebhookItem.Builder |
errorCode(String errorCode)
The number code of the error.
|
ListWebhookItem.Builder |
errorMessage(String errorMessage)
The text of the error message about the webhook.
|
ListWebhookItem.Builder |
lastTriggered(Instant lastTriggered)
The date and time a webhook was last successfully triggered, in timestamp format.
|
ListWebhookItem.Builder |
tags(Collection<Tag> tags)
Specifies the tags applied to the webhook.
|
ListWebhookItem.Builder |
tags(Consumer<Tag.Builder>... tags)
Specifies the tags applied to the webhook.
|
ListWebhookItem.Builder |
tags(Tag... tags)
Specifies the tags applied to the webhook.
|
ListWebhookItem.Builder |
url(String url)
A unique URL generated by CodePipeline.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildListWebhookItem.Builder definition(WebhookDefinition definition)
The detail returned for each webhook, such as the webhook authentication type and filter rules.
definition - The detail returned for each webhook, such as the webhook authentication type and filter rules.default ListWebhookItem.Builder definition(Consumer<WebhookDefinition.Builder> definition)
The detail returned for each webhook, such as the webhook authentication type and filter rules.
This is a convenience method that creates an instance of theWebhookDefinition.Builder avoiding the
need to create one manually via WebhookDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to definition(WebhookDefinition).
definition - a consumer that will call methods on WebhookDefinition.Builderdefinition(WebhookDefinition)ListWebhookItem.Builder url(String url)
A unique URL generated by CodePipeline. When a POST request is made to this URL, the defined pipeline is started as long as the body of the post request satisfies the defined authentication and filtering conditions. Deleting and re-creating a webhook makes the old URL invalid and generates a new one.
url - A unique URL generated by CodePipeline. When a POST request is made to this URL, the defined pipeline
is started as long as the body of the post request satisfies the defined authentication and filtering
conditions. Deleting and re-creating a webhook makes the old URL invalid and generates a new one.ListWebhookItem.Builder errorMessage(String errorMessage)
The text of the error message about the webhook.
errorMessage - The text of the error message about the webhook.ListWebhookItem.Builder errorCode(String errorCode)
The number code of the error.
errorCode - The number code of the error.ListWebhookItem.Builder lastTriggered(Instant lastTriggered)
The date and time a webhook was last successfully triggered, in timestamp format.
lastTriggered - The date and time a webhook was last successfully triggered, in timestamp format.ListWebhookItem.Builder arn(String arn)
The Amazon Resource Name (ARN) of the webhook.
arn - The Amazon Resource Name (ARN) of the webhook.ListWebhookItem.Builder tags(Collection<Tag> tags)
Specifies the tags applied to the webhook.
tags - Specifies the tags applied to the webhook.ListWebhookItem.Builder tags(Tag... tags)
Specifies the tags applied to the webhook.
tags - Specifies the tags applied to the webhook.ListWebhookItem.Builder tags(Consumer<Tag.Builder>... tags)
Specifies the tags applied to the webhook.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) Copyright © 2023. All rights reserved.