#[non_exhaustive]pub struct GetMfaDeviceInputBuilder { /* private fields */ }
Expand description
A builder for GetMfaDeviceInput
.
Implementations§
source§impl GetMfaDeviceInputBuilder
impl GetMfaDeviceInputBuilder
sourcepub fn serial_number(self, input: impl Into<String>) -> Self
pub fn serial_number(self, input: impl Into<String>) -> Self
Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.
This field is required.sourcepub fn set_serial_number(self, input: Option<String>) -> Self
pub fn set_serial_number(self, input: Option<String>) -> Self
Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.
sourcepub fn get_serial_number(&self) -> &Option<String>
pub fn get_serial_number(&self) -> &Option<String>
Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The friendly name identifying the user.
sourcepub fn set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
The friendly name identifying the user.
sourcepub fn get_user_name(&self) -> &Option<String>
pub fn get_user_name(&self) -> &Option<String>
The friendly name identifying the user.
sourcepub fn build(self) -> Result<GetMfaDeviceInput, BuildError>
pub fn build(self) -> Result<GetMfaDeviceInput, BuildError>
Consumes the builder and constructs a GetMfaDeviceInput
.
source§impl GetMfaDeviceInputBuilder
impl GetMfaDeviceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetMfaDeviceOutput, SdkError<GetMFADeviceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetMfaDeviceOutput, SdkError<GetMFADeviceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetMfaDeviceInputBuilder
impl Clone for GetMfaDeviceInputBuilder
source§fn clone(&self) -> GetMfaDeviceInputBuilder
fn clone(&self) -> GetMfaDeviceInputBuilder
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 GetMfaDeviceInputBuilder
impl Debug for GetMfaDeviceInputBuilder
source§impl Default for GetMfaDeviceInputBuilder
impl Default for GetMfaDeviceInputBuilder
source§fn default() -> GetMfaDeviceInputBuilder
fn default() -> GetMfaDeviceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetMfaDeviceInputBuilder
impl PartialEq for GetMfaDeviceInputBuilder
source§fn eq(&self, other: &GetMfaDeviceInputBuilder) -> bool
fn eq(&self, other: &GetMfaDeviceInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetMfaDeviceInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetMfaDeviceInputBuilder
impl Send for GetMfaDeviceInputBuilder
impl Sync for GetMfaDeviceInputBuilder
impl Unpin for GetMfaDeviceInputBuilder
impl UnwindSafe for GetMfaDeviceInputBuilder
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.