Struct aws_sdk_codepipeline::operation::register_webhook_with_third_party::builders::RegisterWebhookWithThirdPartyInputBuilder
source · #[non_exhaustive]pub struct RegisterWebhookWithThirdPartyInputBuilder { /* private fields */ }Expand description
A builder for RegisterWebhookWithThirdPartyInput.
Implementations§
source§impl RegisterWebhookWithThirdPartyInputBuilder
impl RegisterWebhookWithThirdPartyInputBuilder
sourcepub fn webhook_name(self, input: impl Into<String>) -> Self
pub fn webhook_name(self, input: impl Into<String>) -> Self
The name of an existing webhook created with PutWebhook to register with a supported third party.
sourcepub fn set_webhook_name(self, input: Option<String>) -> Self
pub fn set_webhook_name(self, input: Option<String>) -> Self
The name of an existing webhook created with PutWebhook to register with a supported third party.
sourcepub fn get_webhook_name(&self) -> &Option<String>
pub fn get_webhook_name(&self) -> &Option<String>
The name of an existing webhook created with PutWebhook to register with a supported third party.
sourcepub fn build(self) -> Result<RegisterWebhookWithThirdPartyInput, BuildError>
pub fn build(self) -> Result<RegisterWebhookWithThirdPartyInput, BuildError>
Consumes the builder and constructs a RegisterWebhookWithThirdPartyInput.
source§impl RegisterWebhookWithThirdPartyInputBuilder
impl RegisterWebhookWithThirdPartyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RegisterWebhookWithThirdPartyOutput, SdkError<RegisterWebhookWithThirdPartyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RegisterWebhookWithThirdPartyOutput, SdkError<RegisterWebhookWithThirdPartyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RegisterWebhookWithThirdPartyInputBuilder
impl Clone for RegisterWebhookWithThirdPartyInputBuilder
source§fn clone(&self) -> RegisterWebhookWithThirdPartyInputBuilder
fn clone(&self) -> RegisterWebhookWithThirdPartyInputBuilder
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 Default for RegisterWebhookWithThirdPartyInputBuilder
impl Default for RegisterWebhookWithThirdPartyInputBuilder
source§fn default() -> RegisterWebhookWithThirdPartyInputBuilder
fn default() -> RegisterWebhookWithThirdPartyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RegisterWebhookWithThirdPartyInputBuilder
impl PartialEq for RegisterWebhookWithThirdPartyInputBuilder
source§fn eq(&self, other: &RegisterWebhookWithThirdPartyInputBuilder) -> bool
fn eq(&self, other: &RegisterWebhookWithThirdPartyInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RegisterWebhookWithThirdPartyInputBuilder
Auto Trait Implementations§
impl Freeze for RegisterWebhookWithThirdPartyInputBuilder
impl RefUnwindSafe for RegisterWebhookWithThirdPartyInputBuilder
impl Send for RegisterWebhookWithThirdPartyInputBuilder
impl Sync for RegisterWebhookWithThirdPartyInputBuilder
impl Unpin for RegisterWebhookWithThirdPartyInputBuilder
impl UnwindSafe for RegisterWebhookWithThirdPartyInputBuilder
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>
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.