Struct aws_sdk_eventbridge::operation::delete_partner_event_source::builders::DeletePartnerEventSourceInputBuilder
source · #[non_exhaustive]pub struct DeletePartnerEventSourceInputBuilder { /* private fields */ }Expand description
A builder for DeletePartnerEventSourceInput.
Implementations§
source§impl DeletePartnerEventSourceInputBuilder
impl DeletePartnerEventSourceInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the event source to delete.
This field is required.sourcepub fn account(self, input: impl Into<String>) -> Self
pub fn account(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of the Amazon Web Services customer that the event source was created for.
This field is required.sourcepub fn set_account(self, input: Option<String>) -> Self
pub fn set_account(self, input: Option<String>) -> Self
The Amazon Web Services account ID of the Amazon Web Services customer that the event source was created for.
sourcepub fn get_account(&self) -> &Option<String>
pub fn get_account(&self) -> &Option<String>
The Amazon Web Services account ID of the Amazon Web Services customer that the event source was created for.
sourcepub fn build(self) -> Result<DeletePartnerEventSourceInput, BuildError>
pub fn build(self) -> Result<DeletePartnerEventSourceInput, BuildError>
Consumes the builder and constructs a DeletePartnerEventSourceInput.
source§impl DeletePartnerEventSourceInputBuilder
impl DeletePartnerEventSourceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeletePartnerEventSourceOutput, SdkError<DeletePartnerEventSourceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeletePartnerEventSourceOutput, SdkError<DeletePartnerEventSourceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeletePartnerEventSourceInputBuilder
impl Clone for DeletePartnerEventSourceInputBuilder
source§fn clone(&self) -> DeletePartnerEventSourceInputBuilder
fn clone(&self) -> DeletePartnerEventSourceInputBuilder
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 DeletePartnerEventSourceInputBuilder
impl Default for DeletePartnerEventSourceInputBuilder
source§fn default() -> DeletePartnerEventSourceInputBuilder
fn default() -> DeletePartnerEventSourceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeletePartnerEventSourceInputBuilder
impl PartialEq for DeletePartnerEventSourceInputBuilder
source§fn eq(&self, other: &DeletePartnerEventSourceInputBuilder) -> bool
fn eq(&self, other: &DeletePartnerEventSourceInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeletePartnerEventSourceInputBuilder
Auto Trait Implementations§
impl Freeze for DeletePartnerEventSourceInputBuilder
impl RefUnwindSafe for DeletePartnerEventSourceInputBuilder
impl Send for DeletePartnerEventSourceInputBuilder
impl Sync for DeletePartnerEventSourceInputBuilder
impl Unpin for DeletePartnerEventSourceInputBuilder
impl UnwindSafe for DeletePartnerEventSourceInputBuilder
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.