Struct aws_sdk_amplifybackend::types::builders::SettingsBuilder
source · #[non_exhaustive]pub struct SettingsBuilder { /* private fields */ }
Expand description
A builder for Settings
.
Implementations§
source§impl SettingsBuilder
impl SettingsBuilder
sourcepub fn mfa_types(self, input: MfaTypesElement) -> Self
pub fn mfa_types(self, input: MfaTypesElement) -> Self
Appends an item to mfa_types
.
To override the contents of this collection use set_mfa_types
.
The supported MFA types.
sourcepub fn set_mfa_types(self, input: Option<Vec<MfaTypesElement>>) -> Self
pub fn set_mfa_types(self, input: Option<Vec<MfaTypesElement>>) -> Self
The supported MFA types.
sourcepub fn get_mfa_types(&self) -> &Option<Vec<MfaTypesElement>>
pub fn get_mfa_types(&self) -> &Option<Vec<MfaTypesElement>>
The supported MFA types.
sourcepub fn sms_message(self, input: impl Into<String>) -> Self
pub fn sms_message(self, input: impl Into<String>) -> Self
The body of the SMS message.
sourcepub fn set_sms_message(self, input: Option<String>) -> Self
pub fn set_sms_message(self, input: Option<String>) -> Self
The body of the SMS message.
sourcepub fn get_sms_message(&self) -> &Option<String>
pub fn get_sms_message(&self) -> &Option<String>
The body of the SMS message.
Trait Implementations§
source§impl Clone for SettingsBuilder
impl Clone for SettingsBuilder
source§fn clone(&self) -> SettingsBuilder
fn clone(&self) -> SettingsBuilder
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 Debug for SettingsBuilder
impl Debug for SettingsBuilder
source§impl Default for SettingsBuilder
impl Default for SettingsBuilder
source§fn default() -> SettingsBuilder
fn default() -> SettingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SettingsBuilder
impl PartialEq for SettingsBuilder
source§fn eq(&self, other: &SettingsBuilder) -> bool
fn eq(&self, other: &SettingsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SettingsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SettingsBuilder
impl Send for SettingsBuilder
impl Sync for SettingsBuilder
impl Unpin for SettingsBuilder
impl UnwindSafe for SettingsBuilder
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.