Struct aws_sdk_amplifybackend::types::builders::CreateBackendAuthVerificationMessageConfigBuilder
source · #[non_exhaustive]pub struct CreateBackendAuthVerificationMessageConfigBuilder { /* private fields */ }
Expand description
A builder for CreateBackendAuthVerificationMessageConfig
.
Implementations§
source§impl CreateBackendAuthVerificationMessageConfigBuilder
impl CreateBackendAuthVerificationMessageConfigBuilder
sourcepub fn delivery_method(self, input: DeliveryMethod) -> Self
pub fn delivery_method(self, input: DeliveryMethod) -> Self
The type of verification message to send.
This field is required.sourcepub fn set_delivery_method(self, input: Option<DeliveryMethod>) -> Self
pub fn set_delivery_method(self, input: Option<DeliveryMethod>) -> Self
The type of verification message to send.
sourcepub fn get_delivery_method(&self) -> &Option<DeliveryMethod>
pub fn get_delivery_method(&self) -> &Option<DeliveryMethod>
The type of verification message to send.
sourcepub fn email_settings(self, input: EmailSettings) -> Self
pub fn email_settings(self, input: EmailSettings) -> Self
The settings for the email message.
sourcepub fn set_email_settings(self, input: Option<EmailSettings>) -> Self
pub fn set_email_settings(self, input: Option<EmailSettings>) -> Self
The settings for the email message.
sourcepub fn get_email_settings(&self) -> &Option<EmailSettings>
pub fn get_email_settings(&self) -> &Option<EmailSettings>
The settings for the email message.
sourcepub fn sms_settings(self, input: SmsSettings) -> Self
pub fn sms_settings(self, input: SmsSettings) -> Self
The settings for the SMS message.
sourcepub fn set_sms_settings(self, input: Option<SmsSettings>) -> Self
pub fn set_sms_settings(self, input: Option<SmsSettings>) -> Self
The settings for the SMS message.
sourcepub fn get_sms_settings(&self) -> &Option<SmsSettings>
pub fn get_sms_settings(&self) -> &Option<SmsSettings>
The settings for the SMS message.
sourcepub fn build(self) -> CreateBackendAuthVerificationMessageConfig
pub fn build(self) -> CreateBackendAuthVerificationMessageConfig
Consumes the builder and constructs a CreateBackendAuthVerificationMessageConfig
.
Trait Implementations§
source§impl Clone for CreateBackendAuthVerificationMessageConfigBuilder
impl Clone for CreateBackendAuthVerificationMessageConfigBuilder
source§fn clone(&self) -> CreateBackendAuthVerificationMessageConfigBuilder
fn clone(&self) -> CreateBackendAuthVerificationMessageConfigBuilder
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 CreateBackendAuthVerificationMessageConfigBuilder
impl Default for CreateBackendAuthVerificationMessageConfigBuilder
source§fn default() -> CreateBackendAuthVerificationMessageConfigBuilder
fn default() -> CreateBackendAuthVerificationMessageConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateBackendAuthVerificationMessageConfigBuilder
impl PartialEq for CreateBackendAuthVerificationMessageConfigBuilder
source§fn eq(&self, other: &CreateBackendAuthVerificationMessageConfigBuilder) -> bool
fn eq(&self, other: &CreateBackendAuthVerificationMessageConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateBackendAuthVerificationMessageConfigBuilder
Auto Trait Implementations§
impl Freeze for CreateBackendAuthVerificationMessageConfigBuilder
impl RefUnwindSafe for CreateBackendAuthVerificationMessageConfigBuilder
impl Send for CreateBackendAuthVerificationMessageConfigBuilder
impl Sync for CreateBackendAuthVerificationMessageConfigBuilder
impl Unpin for CreateBackendAuthVerificationMessageConfigBuilder
impl UnwindSafe for CreateBackendAuthVerificationMessageConfigBuilder
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.