Struct aws_sdk_pinpointsmsvoice::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
ConfigurationSetName 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
ConfigurationSetName
sourcepub fn get_configuration_set_name(&self) -> &Option<String>
pub fn get_configuration_set_name(&self) -> &Option<String>
ConfigurationSetName
sourcepub fn event_destination(self, input: EventDestinationDefinition) -> Self
pub fn event_destination(self, input: EventDestinationDefinition) -> Self
An object that defines a single event destination.
sourcepub fn set_event_destination(
self,
input: Option<EventDestinationDefinition>
) -> Self
pub fn set_event_destination( self, input: Option<EventDestinationDefinition> ) -> Self
An object that defines a single event destination.
sourcepub fn get_event_destination(&self) -> &Option<EventDestinationDefinition>
pub fn get_event_destination(&self) -> &Option<EventDestinationDefinition>
An object that defines a single event destination.
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.
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.
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.
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 Freeze for CreateConfigurationSetEventDestinationInputBuilder
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>
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.