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 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.
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<SettingsBuilder> for SettingsBuilder
impl PartialEq<SettingsBuilder> 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 ==
.