#[non_exhaustive]pub struct CreateWebhookInputBuilder { /* private fields */ }Expand description
A builder for CreateWebhookInput.
Implementations§
source§impl CreateWebhookInputBuilder
impl CreateWebhookInputBuilder
sourcepub fn app_id(self, input: impl Into<String>) -> Self
pub fn app_id(self, input: impl Into<String>) -> Self
The unique ID for an Amplify app.
This field is required.sourcepub fn set_app_id(self, input: Option<String>) -> Self
pub fn set_app_id(self, input: Option<String>) -> Self
The unique ID for an Amplify app.
sourcepub fn get_app_id(&self) -> &Option<String>
pub fn get_app_id(&self) -> &Option<String>
The unique ID for an Amplify app.
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.
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 build(self) -> Result<CreateWebhookInput, BuildError>
pub fn build(self) -> Result<CreateWebhookInput, BuildError>
Consumes the builder and constructs a CreateWebhookInput.
source§impl CreateWebhookInputBuilder
impl CreateWebhookInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateWebhookOutput, SdkError<CreateWebhookError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateWebhookOutput, SdkError<CreateWebhookError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateWebhookInputBuilder
impl Clone for CreateWebhookInputBuilder
source§fn clone(&self) -> CreateWebhookInputBuilder
fn clone(&self) -> CreateWebhookInputBuilder
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 CreateWebhookInputBuilder
impl Debug for CreateWebhookInputBuilder
source§impl Default for CreateWebhookInputBuilder
impl Default for CreateWebhookInputBuilder
source§fn default() -> CreateWebhookInputBuilder
fn default() -> CreateWebhookInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateWebhookInputBuilder
impl PartialEq for CreateWebhookInputBuilder
source§fn eq(&self, other: &CreateWebhookInputBuilder) -> bool
fn eq(&self, other: &CreateWebhookInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateWebhookInputBuilder
Auto Trait Implementations§
impl Freeze for CreateWebhookInputBuilder
impl RefUnwindSafe for CreateWebhookInputBuilder
impl Send for CreateWebhookInputBuilder
impl Sync for CreateWebhookInputBuilder
impl Unpin for CreateWebhookInputBuilder
impl UnwindSafe for CreateWebhookInputBuilder
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.