#[non_exhaustive]pub struct GetTokenOutputBuilder { /* private fields */ }
Expand description
A builder for GetTokenOutput
.
Implementations§
source§impl GetTokenOutputBuilder
impl GetTokenOutputBuilder
sourcepub fn set_app_id(self, input: Option<String>) -> Self
pub fn set_app_id(self, input: Option<String>) -> Self
The app ID.
sourcepub fn get_app_id(&self) -> &Option<String>
pub fn get_app_id(&self) -> &Option<String>
The app ID.
sourcepub fn challenge_code(self, input: impl Into<String>) -> Self
pub fn challenge_code(self, input: impl Into<String>) -> Self
The one-time challenge code for authenticating into the Amplify Admin UI.
sourcepub fn set_challenge_code(self, input: Option<String>) -> Self
pub fn set_challenge_code(self, input: Option<String>) -> Self
The one-time challenge code for authenticating into the Amplify Admin UI.
sourcepub fn get_challenge_code(&self) -> &Option<String>
pub fn get_challenge_code(&self) -> &Option<String>
The one-time challenge code for authenticating into the Amplify Admin UI.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
A unique ID provided when creating a new challenge token.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
A unique ID provided when creating a new challenge token.
sourcepub fn get_session_id(&self) -> &Option<String>
pub fn get_session_id(&self) -> &Option<String>
A unique ID provided when creating a new challenge token.
sourcepub fn ttl(self, input: impl Into<String>) -> Self
pub fn ttl(self, input: impl Into<String>) -> Self
The expiry time for the one-time generated token code.
sourcepub fn set_ttl(self, input: Option<String>) -> Self
pub fn set_ttl(self, input: Option<String>) -> Self
The expiry time for the one-time generated token code.
sourcepub fn get_ttl(&self) -> &Option<String>
pub fn get_ttl(&self) -> &Option<String>
The expiry time for the one-time generated token code.
sourcepub fn build(self) -> GetTokenOutput
pub fn build(self) -> GetTokenOutput
Consumes the builder and constructs a GetTokenOutput
.
Trait Implementations§
source§impl Clone for GetTokenOutputBuilder
impl Clone for GetTokenOutputBuilder
source§fn clone(&self) -> GetTokenOutputBuilder
fn clone(&self) -> GetTokenOutputBuilder
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 GetTokenOutputBuilder
impl Debug for GetTokenOutputBuilder
source§impl Default for GetTokenOutputBuilder
impl Default for GetTokenOutputBuilder
source§fn default() -> GetTokenOutputBuilder
fn default() -> GetTokenOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetTokenOutputBuilder
impl PartialEq for GetTokenOutputBuilder
source§fn eq(&self, other: &GetTokenOutputBuilder) -> bool
fn eq(&self, other: &GetTokenOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetTokenOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetTokenOutputBuilder
impl Send for GetTokenOutputBuilder
impl Sync for GetTokenOutputBuilder
impl Unpin for GetTokenOutputBuilder
impl UnwindSafe for GetTokenOutputBuilder
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.