#[non_exhaustive]pub struct CreateTokenOutputBuilder { /* private fields */ }
Expand description
A builder for CreateTokenOutput
.
Implementations§
source§impl CreateTokenOutputBuilder
impl CreateTokenOutputBuilder
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
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
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>
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) -> CreateTokenOutput
pub fn build(self) -> CreateTokenOutput
Consumes the builder and constructs a CreateTokenOutput
.
Trait Implementations§
source§impl Clone for CreateTokenOutputBuilder
impl Clone for CreateTokenOutputBuilder
source§fn clone(&self) -> CreateTokenOutputBuilder
fn clone(&self) -> CreateTokenOutputBuilder
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 CreateTokenOutputBuilder
impl Debug for CreateTokenOutputBuilder
source§impl Default for CreateTokenOutputBuilder
impl Default for CreateTokenOutputBuilder
source§fn default() -> CreateTokenOutputBuilder
fn default() -> CreateTokenOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateTokenOutputBuilder
impl PartialEq for CreateTokenOutputBuilder
source§fn eq(&self, other: &CreateTokenOutputBuilder) -> bool
fn eq(&self, other: &CreateTokenOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTokenOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateTokenOutputBuilder
impl Send for CreateTokenOutputBuilder
impl Sync for CreateTokenOutputBuilder
impl Unpin for CreateTokenOutputBuilder
impl UnwindSafe for CreateTokenOutputBuilder
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.