Struct aws_sdk_amplifybackend::types::builders::UpdateBackendAuthVerificationMessageConfigBuilder
source · #[non_exhaustive]pub struct UpdateBackendAuthVerificationMessageConfigBuilder { /* private fields */ }
Expand description
A builder for UpdateBackendAuthVerificationMessageConfig
.
Implementations§
source§impl UpdateBackendAuthVerificationMessageConfigBuilder
impl UpdateBackendAuthVerificationMessageConfigBuilder
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) -> UpdateBackendAuthVerificationMessageConfig
pub fn build(self) -> UpdateBackendAuthVerificationMessageConfig
Consumes the builder and constructs a UpdateBackendAuthVerificationMessageConfig
.
Trait Implementations§
source§impl Clone for UpdateBackendAuthVerificationMessageConfigBuilder
impl Clone for UpdateBackendAuthVerificationMessageConfigBuilder
source§fn clone(&self) -> UpdateBackendAuthVerificationMessageConfigBuilder
fn clone(&self) -> UpdateBackendAuthVerificationMessageConfigBuilder
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 UpdateBackendAuthVerificationMessageConfigBuilder
impl Default for UpdateBackendAuthVerificationMessageConfigBuilder
source§fn default() -> UpdateBackendAuthVerificationMessageConfigBuilder
fn default() -> UpdateBackendAuthVerificationMessageConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateBackendAuthVerificationMessageConfigBuilder
impl PartialEq for UpdateBackendAuthVerificationMessageConfigBuilder
source§fn eq(&self, other: &UpdateBackendAuthVerificationMessageConfigBuilder) -> bool
fn eq(&self, other: &UpdateBackendAuthVerificationMessageConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateBackendAuthVerificationMessageConfigBuilder
Auto Trait Implementations§
impl Freeze for UpdateBackendAuthVerificationMessageConfigBuilder
impl RefUnwindSafe for UpdateBackendAuthVerificationMessageConfigBuilder
impl Send for UpdateBackendAuthVerificationMessageConfigBuilder
impl Sync for UpdateBackendAuthVerificationMessageConfigBuilder
impl Unpin for UpdateBackendAuthVerificationMessageConfigBuilder
impl UnwindSafe for UpdateBackendAuthVerificationMessageConfigBuilder
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.