Struct aws_sdk_sesv2::operation::create_configuration_set_event_destination::builders::CreateConfigurationSetEventDestinationInputBuilder
source · #[non_exhaustive]pub struct CreateConfigurationSetEventDestinationInputBuilder { /* private fields */ }Expand description
A builder for CreateConfigurationSetEventDestinationInput.
Implementations§
source§impl CreateConfigurationSetEventDestinationInputBuilder
impl CreateConfigurationSetEventDestinationInputBuilder
sourcepub fn configuration_set_name(self, input: impl Into<String>) -> Self
pub fn configuration_set_name(self, input: impl Into<String>) -> Self
The name of the configuration set .
This field is required.sourcepub fn set_configuration_set_name(self, input: Option<String>) -> Self
pub fn set_configuration_set_name(self, input: Option<String>) -> Self
The name of the configuration set .
sourcepub fn get_configuration_set_name(&self) -> &Option<String>
pub fn get_configuration_set_name(&self) -> &Option<String>
The name of the configuration set .
sourcepub fn event_destination_name(self, input: impl Into<String>) -> Self
pub fn event_destination_name(self, input: impl Into<String>) -> Self
A name that identifies the event destination within the configuration set.
This field is required.sourcepub fn set_event_destination_name(self, input: Option<String>) -> Self
pub fn set_event_destination_name(self, input: Option<String>) -> Self
A name that identifies the event destination within the configuration set.
sourcepub fn get_event_destination_name(&self) -> &Option<String>
pub fn get_event_destination_name(&self) -> &Option<String>
A name that identifies the event destination within the configuration set.
sourcepub fn event_destination(self, input: EventDestinationDefinition) -> Self
pub fn event_destination(self, input: EventDestinationDefinition) -> Self
An object that defines the event destination.
This field is required.sourcepub fn set_event_destination(
self,
input: Option<EventDestinationDefinition>
) -> Self
pub fn set_event_destination( self, input: Option<EventDestinationDefinition> ) -> Self
An object that defines the event destination.
sourcepub fn get_event_destination(&self) -> &Option<EventDestinationDefinition>
pub fn get_event_destination(&self) -> &Option<EventDestinationDefinition>
An object that defines the event destination.
sourcepub fn build(
self
) -> Result<CreateConfigurationSetEventDestinationInput, BuildError>
pub fn build( self ) -> Result<CreateConfigurationSetEventDestinationInput, BuildError>
Consumes the builder and constructs a CreateConfigurationSetEventDestinationInput.
source§impl CreateConfigurationSetEventDestinationInputBuilder
impl CreateConfigurationSetEventDestinationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateConfigurationSetEventDestinationOutput, SdkError<CreateConfigurationSetEventDestinationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateConfigurationSetEventDestinationOutput, SdkError<CreateConfigurationSetEventDestinationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateConfigurationSetEventDestinationInputBuilder
impl Clone for CreateConfigurationSetEventDestinationInputBuilder
source§fn clone(&self) -> CreateConfigurationSetEventDestinationInputBuilder
fn clone(&self) -> CreateConfigurationSetEventDestinationInputBuilder
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 CreateConfigurationSetEventDestinationInputBuilder
impl Default for CreateConfigurationSetEventDestinationInputBuilder
source§fn default() -> CreateConfigurationSetEventDestinationInputBuilder
fn default() -> CreateConfigurationSetEventDestinationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateConfigurationSetEventDestinationInputBuilder
impl PartialEq for CreateConfigurationSetEventDestinationInputBuilder
source§fn eq(&self, other: &CreateConfigurationSetEventDestinationInputBuilder) -> bool
fn eq(&self, other: &CreateConfigurationSetEventDestinationInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateConfigurationSetEventDestinationInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateConfigurationSetEventDestinationInputBuilder
impl Send for CreateConfigurationSetEventDestinationInputBuilder
impl Sync for CreateConfigurationSetEventDestinationInputBuilder
impl Unpin for CreateConfigurationSetEventDestinationInputBuilder
impl UnwindSafe for CreateConfigurationSetEventDestinationInputBuilder
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.