Interface ListWebhookItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ListWebhookItem.Builder,ListWebhookItem>,SdkBuilder<ListWebhookItem.Builder,ListWebhookItem>,SdkPojo
- Enclosing class:
- ListWebhookItem
public static interface ListWebhookItem.Builder extends SdkPojo, CopyableBuilder<ListWebhookItem.Builder,ListWebhookItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListWebhookItem.Builderarn(String arn)The Amazon Resource Name (ARN) of the webhook.default ListWebhookItem.Builderdefinition(Consumer<WebhookDefinition.Builder> definition)The detail returned for each webhook, such as the webhook authentication type and filter rules.ListWebhookItem.Builderdefinition(WebhookDefinition definition)The detail returned for each webhook, such as the webhook authentication type and filter rules.ListWebhookItem.BuildererrorCode(String errorCode)The number code of the error.ListWebhookItem.BuildererrorMessage(String errorMessage)The text of the error message about the webhook.ListWebhookItem.BuilderlastTriggered(Instant lastTriggered)The date and time a webhook was last successfully triggered, in timestamp format.ListWebhookItem.Buildertags(Collection<Tag> tags)Specifies the tags applied to the webhook.ListWebhookItem.Buildertags(Consumer<Tag.Builder>... tags)Specifies the tags applied to the webhook.ListWebhookItem.Buildertags(Tag... tags)Specifies the tags applied to the webhook.ListWebhookItem.Builderurl(String url)A unique URL generated by CodePipeline.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
definition
ListWebhookItem.Builder definition(WebhookDefinition definition)
The detail returned for each webhook, such as the webhook authentication type and filter rules.
- Parameters:
definition- The detail returned for each webhook, such as the webhook authentication type and filter rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
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.Builderavoiding the need to create one manually viaWebhookDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(WebhookDefinition).- Parameters:
definition- a consumer that will call methods onWebhookDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
definition(WebhookDefinition)
-
url
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
ListWebhookItem.Builder errorMessage(String errorMessage)
The text of the error message about the webhook.
- Parameters:
errorMessage- The text of the error message about the webhook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
ListWebhookItem.Builder errorCode(String errorCode)
The number code of the error.
- Parameters:
errorCode- The number code of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastTriggered
ListWebhookItem.Builder lastTriggered(Instant lastTriggered)
The date and time a webhook was last successfully triggered, in timestamp format.
- Parameters:
lastTriggered- The date and time a webhook was last successfully triggered, in timestamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
ListWebhookItem.Builder arn(String arn)
The Amazon Resource Name (ARN) of the webhook.
- Parameters:
arn- The Amazon Resource Name (ARN) of the webhook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListWebhookItem.Builder tags(Collection<Tag> tags)
Specifies the tags applied to the webhook.
- Parameters:
tags- Specifies the tags applied to the webhook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListWebhookItem.Builder tags(Tag... tags)
Specifies the tags applied to the webhook.
- Parameters:
tags- Specifies the tags applied to the webhook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-