#[non_exhaustive]pub struct MfaOptionTypeBuilder { /* private fields */ }Expand description
A builder for MfaOptionType.
Implementations§
source§impl MfaOptionTypeBuilder
impl MfaOptionTypeBuilder
sourcepub fn delivery_medium(self, input: DeliveryMediumType) -> Self
pub fn delivery_medium(self, input: DeliveryMediumType) -> Self
The delivery medium to send the MFA code. You can use this parameter to set only the SMS delivery medium value.
sourcepub fn set_delivery_medium(self, input: Option<DeliveryMediumType>) -> Self
pub fn set_delivery_medium(self, input: Option<DeliveryMediumType>) -> Self
The delivery medium to send the MFA code. You can use this parameter to set only the SMS delivery medium value.
sourcepub fn get_delivery_medium(&self) -> &Option<DeliveryMediumType>
pub fn get_delivery_medium(&self) -> &Option<DeliveryMediumType>
The delivery medium to send the MFA code. You can use this parameter to set only the SMS delivery medium value.
sourcepub fn attribute_name(self, input: impl Into<String>) -> Self
pub fn attribute_name(self, input: impl Into<String>) -> Self
The attribute name of the MFA option type. The only valid value is phone_number.
sourcepub fn set_attribute_name(self, input: Option<String>) -> Self
pub fn set_attribute_name(self, input: Option<String>) -> Self
The attribute name of the MFA option type. The only valid value is phone_number.
sourcepub fn get_attribute_name(&self) -> &Option<String>
pub fn get_attribute_name(&self) -> &Option<String>
The attribute name of the MFA option type. The only valid value is phone_number.
sourcepub fn build(self) -> MfaOptionType
pub fn build(self) -> MfaOptionType
Consumes the builder and constructs a MfaOptionType.
Trait Implementations§
source§impl Clone for MfaOptionTypeBuilder
impl Clone for MfaOptionTypeBuilder
source§fn clone(&self) -> MfaOptionTypeBuilder
fn clone(&self) -> MfaOptionTypeBuilder
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 MfaOptionTypeBuilder
impl Debug for MfaOptionTypeBuilder
source§impl Default for MfaOptionTypeBuilder
impl Default for MfaOptionTypeBuilder
source§fn default() -> MfaOptionTypeBuilder
fn default() -> MfaOptionTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MfaOptionTypeBuilder
impl PartialEq for MfaOptionTypeBuilder
source§fn eq(&self, other: &MfaOptionTypeBuilder) -> bool
fn eq(&self, other: &MfaOptionTypeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MfaOptionTypeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MfaOptionTypeBuilder
impl Send for MfaOptionTypeBuilder
impl Sync for MfaOptionTypeBuilder
impl Unpin for MfaOptionTypeBuilder
impl UnwindSafe for MfaOptionTypeBuilder
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.