#[non_exhaustive]pub struct PutWebhookOutputBuilder { /* private fields */ }
Expand description
A builder for PutWebhookOutput
.
Implementations§
source§impl PutWebhookOutputBuilder
impl PutWebhookOutputBuilder
sourcepub fn webhook(self, input: ListWebhookItem) -> Self
pub fn webhook(self, input: ListWebhookItem) -> Self
The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.
sourcepub fn set_webhook(self, input: Option<ListWebhookItem>) -> Self
pub fn set_webhook(self, input: Option<ListWebhookItem>) -> Self
The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.
sourcepub fn get_webhook(&self) -> &Option<ListWebhookItem>
pub fn get_webhook(&self) -> &Option<ListWebhookItem>
The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.
sourcepub fn build(self) -> PutWebhookOutput
pub fn build(self) -> PutWebhookOutput
Consumes the builder and constructs a PutWebhookOutput
.
Trait Implementations§
source§impl Clone for PutWebhookOutputBuilder
impl Clone for PutWebhookOutputBuilder
source§fn clone(&self) -> PutWebhookOutputBuilder
fn clone(&self) -> PutWebhookOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PutWebhookOutputBuilder
impl Debug for PutWebhookOutputBuilder
source§impl Default for PutWebhookOutputBuilder
impl Default for PutWebhookOutputBuilder
source§fn default() -> PutWebhookOutputBuilder
fn default() -> PutWebhookOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutWebhookOutputBuilder
impl PartialEq for PutWebhookOutputBuilder
impl StructuralPartialEq for PutWebhookOutputBuilder
Auto Trait Implementations§
impl Freeze for PutWebhookOutputBuilder
impl RefUnwindSafe for PutWebhookOutputBuilder
impl Send for PutWebhookOutputBuilder
impl Sync for PutWebhookOutputBuilder
impl Unpin for PutWebhookOutputBuilder
impl UnwindSafe for PutWebhookOutputBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.