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 ==.