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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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 for WebhookBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for WebhookBuilder
Auto Trait Implementations§
impl Freeze for WebhookBuilder
impl RefUnwindSafe for WebhookBuilder
impl Send for WebhookBuilder
impl Sync for WebhookBuilder
impl Unpin for WebhookBuilder
impl UnwindSafe for WebhookBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more