Struct aws_sdk_codepipeline::model::list_webhook_item::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListWebhookItem
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn definition(self, input: WebhookDefinition) -> Self
pub fn definition(self, input: WebhookDefinition) -> Self
The detail returned for each webhook, such as the webhook authentication type and filter rules.
sourcepub fn set_definition(self, input: Option<WebhookDefinition>) -> Self
pub fn set_definition(self, input: Option<WebhookDefinition>) -> Self
The detail returned for each webhook, such as the webhook authentication type and filter rules.
sourcepub fn url(self, input: impl Into<String>) -> Self
pub fn url(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_url(self, input: Option<String>) -> Self
pub fn set_url(self, input: Option<String>) -> Self
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.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The text of the error message about the webhook.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The text of the error message about the webhook.
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
The number code of the error.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
The number code of the error.
sourcepub fn last_triggered(self, input: DateTime) -> Self
pub fn last_triggered(self, input: DateTime) -> Self
The date and time a webhook was last successfully triggered, in timestamp format.
sourcepub fn set_last_triggered(self, input: Option<DateTime>) -> Self
pub fn set_last_triggered(self, input: Option<DateTime>) -> Self
The date and time a webhook was last successfully triggered, in timestamp format.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the webhook.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the webhook.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Specifies the tags applied to the webhook.
Specifies the tags applied to the webhook.
sourcepub fn build(self) -> ListWebhookItem
pub fn build(self) -> ListWebhookItem
Consumes the builder and constructs a ListWebhookItem
.