Struct aws_sdk_cognitoidentityprovider::operation::associate_software_token::builders::AssociateSoftwareTokenOutputBuilder
source · #[non_exhaustive]pub struct AssociateSoftwareTokenOutputBuilder { /* private fields */ }
Expand description
A builder for AssociateSoftwareTokenOutput
.
Implementations§
source§impl AssociateSoftwareTokenOutputBuilder
impl AssociateSoftwareTokenOutputBuilder
sourcepub fn secret_code(self, input: impl Into<String>) -> Self
pub fn secret_code(self, input: impl Into<String>) -> Self
A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.
sourcepub fn set_secret_code(self, input: Option<String>) -> Self
pub fn set_secret_code(self, input: Option<String>) -> Self
A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.
sourcepub fn get_secret_code(&self) -> &Option<String>
pub fn get_secret_code(&self) -> &Option<String>
A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.
sourcepub fn session(self, input: impl Into<String>) -> Self
pub fn session(self, input: impl Into<String>) -> Self
The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
sourcepub fn set_session(self, input: Option<String>) -> Self
pub fn set_session(self, input: Option<String>) -> Self
The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
sourcepub fn get_session(&self) -> &Option<String>
pub fn get_session(&self) -> &Option<String>
The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
sourcepub fn build(self) -> AssociateSoftwareTokenOutput
pub fn build(self) -> AssociateSoftwareTokenOutput
Consumes the builder and constructs a AssociateSoftwareTokenOutput
.
Trait Implementations§
source§impl Clone for AssociateSoftwareTokenOutputBuilder
impl Clone for AssociateSoftwareTokenOutputBuilder
source§fn clone(&self) -> AssociateSoftwareTokenOutputBuilder
fn clone(&self) -> AssociateSoftwareTokenOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssociateSoftwareTokenOutputBuilder
impl Default for AssociateSoftwareTokenOutputBuilder
source§fn default() -> AssociateSoftwareTokenOutputBuilder
fn default() -> AssociateSoftwareTokenOutputBuilder
source§impl PartialEq for AssociateSoftwareTokenOutputBuilder
impl PartialEq for AssociateSoftwareTokenOutputBuilder
source§fn eq(&self, other: &AssociateSoftwareTokenOutputBuilder) -> bool
fn eq(&self, other: &AssociateSoftwareTokenOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateSoftwareTokenOutputBuilder
Auto Trait Implementations§
impl Freeze for AssociateSoftwareTokenOutputBuilder
impl RefUnwindSafe for AssociateSoftwareTokenOutputBuilder
impl Send for AssociateSoftwareTokenOutputBuilder
impl Sync for AssociateSoftwareTokenOutputBuilder
impl Unpin for AssociateSoftwareTokenOutputBuilder
impl UnwindSafe for AssociateSoftwareTokenOutputBuilder
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
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>
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>
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 more