Struct aws_sdk_amplify::types::builders::WebhookBuilder
source · #[non_exhaustive]pub struct WebhookBuilder { /* private fields */ }Expand description
A builder for Webhook.
Implementations§
source§impl WebhookBuilder
impl WebhookBuilder
sourcepub fn webhook_arn(self, input: impl Into<String>) -> Self
pub fn webhook_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the webhook.
sourcepub fn set_webhook_arn(self, input: Option<String>) -> Self
pub fn set_webhook_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the webhook.
sourcepub fn get_webhook_arn(&self) -> &Option<String>
pub fn get_webhook_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the webhook.
sourcepub fn webhook_id(self, input: impl Into<String>) -> Self
pub fn webhook_id(self, input: impl Into<String>) -> Self
The ID of the webhook.
sourcepub fn set_webhook_id(self, input: Option<String>) -> Self
pub fn set_webhook_id(self, input: Option<String>) -> Self
The ID of the webhook.
sourcepub fn get_webhook_id(&self) -> &Option<String>
pub fn get_webhook_id(&self) -> &Option<String>
The ID of the webhook.
sourcepub fn webhook_url(self, input: impl Into<String>) -> Self
pub fn webhook_url(self, input: impl Into<String>) -> Self
The URL of the webhook.
sourcepub fn set_webhook_url(self, input: Option<String>) -> Self
pub fn set_webhook_url(self, input: Option<String>) -> Self
The URL of the webhook.
sourcepub fn get_webhook_url(&self) -> &Option<String>
pub fn get_webhook_url(&self) -> &Option<String>
The URL of the webhook.
sourcepub fn branch_name(self, input: impl Into<String>) -> Self
pub fn branch_name(self, input: impl Into<String>) -> Self
The name for a branch that is part of an Amplify app.
sourcepub fn set_branch_name(self, input: Option<String>) -> Self
pub fn set_branch_name(self, input: Option<String>) -> Self
The name for a branch that is part of an Amplify app.
sourcepub fn get_branch_name(&self) -> &Option<String>
pub fn get_branch_name(&self) -> &Option<String>
The name for a branch that is part of an Amplify app.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for a webhook.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for a webhook.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for a webhook.
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The create date and time for a webhook.
sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
The create date and time for a webhook.
sourcepub fn get_create_time(&self) -> &Option<DateTime>
pub fn get_create_time(&self) -> &Option<DateTime>
The create date and time for a webhook.
sourcepub fn update_time(self, input: DateTime) -> Self
pub fn update_time(self, input: DateTime) -> Self
Updates the date and time for a webhook.
sourcepub fn set_update_time(self, input: Option<DateTime>) -> Self
pub fn set_update_time(self, input: Option<DateTime>) -> Self
Updates the date and time for a webhook.
sourcepub fn get_update_time(&self) -> &Option<DateTime>
pub fn get_update_time(&self) -> &Option<DateTime>
Updates the date and time for a webhook.
Trait Implementations§
source§impl Clone for WebhookBuilder
impl Clone for WebhookBuilder
source§fn clone(&self) -> WebhookBuilder
fn clone(&self) -> WebhookBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for WebhookBuilder
impl Debug for WebhookBuilder
source§impl Default for WebhookBuilder
impl Default for WebhookBuilder
source§fn default() -> WebhookBuilder
fn default() -> WebhookBuilder
source§impl PartialEq<WebhookBuilder> for WebhookBuilder
impl PartialEq<WebhookBuilder> for WebhookBuilder
source§fn eq(&self, other: &WebhookBuilder) -> bool
fn eq(&self, other: &WebhookBuilder) -> bool
self and other values to be equal, and is used
by ==.