Struct aws_sdk_codepipeline::input::put_webhook_input::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for PutWebhookInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn webhook(self, input: WebhookDefinition) -> Self
pub fn webhook(self, input: WebhookDefinition) -> Self
The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name. Give the webhook a unique name that helps you identify it. You might name the webhook after the pipeline and action it targets so that you can easily recognize what it's used for later.
sourcepub fn set_webhook(self, input: Option<WebhookDefinition>) -> Self
pub fn set_webhook(self, input: Option<WebhookDefinition>) -> Self
The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name. Give the webhook a unique name that helps you identify it. You might name the webhook after the pipeline and action it targets so that you can easily recognize what it's used for later.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags for the webhook.
The tags for the webhook.
sourcepub fn build(self) -> Result<PutWebhookInput, BuildError>
pub fn build(self) -> Result<PutWebhookInput, BuildError>
Consumes the builder and constructs a PutWebhookInput
.