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