#[non_exhaustive]pub struct CreateWebhookOutputBuilder { /* private fields */ }
Expand description
A builder for CreateWebhookOutput
.
Implementations§
source§impl CreateWebhookOutputBuilder
impl CreateWebhookOutputBuilder
sourcepub fn webhook(self, input: Webhook) -> Self
pub fn webhook(self, input: Webhook) -> Self
Information about a webhook that connects repository events to a build project in CodeBuild.
sourcepub fn set_webhook(self, input: Option<Webhook>) -> Self
pub fn set_webhook(self, input: Option<Webhook>) -> Self
Information about a webhook that connects repository events to a build project in CodeBuild.
sourcepub fn get_webhook(&self) -> &Option<Webhook>
pub fn get_webhook(&self) -> &Option<Webhook>
Information about a webhook that connects repository events to a build project in CodeBuild.
sourcepub fn build(self) -> CreateWebhookOutput
pub fn build(self) -> CreateWebhookOutput
Consumes the builder and constructs a CreateWebhookOutput
.
Trait Implementations§
source§impl Clone for CreateWebhookOutputBuilder
impl Clone for CreateWebhookOutputBuilder
source§fn clone(&self) -> CreateWebhookOutputBuilder
fn clone(&self) -> CreateWebhookOutputBuilder
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 CreateWebhookOutputBuilder
impl Debug for CreateWebhookOutputBuilder
source§impl Default for CreateWebhookOutputBuilder
impl Default for CreateWebhookOutputBuilder
source§fn default() -> CreateWebhookOutputBuilder
fn default() -> CreateWebhookOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateWebhookOutputBuilder
impl PartialEq for CreateWebhookOutputBuilder
source§fn eq(&self, other: &CreateWebhookOutputBuilder) -> bool
fn eq(&self, other: &CreateWebhookOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateWebhookOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateWebhookOutputBuilder
impl Send for CreateWebhookOutputBuilder
impl Sync for CreateWebhookOutputBuilder
impl Unpin for CreateWebhookOutputBuilder
impl UnwindSafe for CreateWebhookOutputBuilder
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> 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>
Creates a shared type from an unshared type.