#[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 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 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 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 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<GetTokenOutputBuilder> for GetTokenOutputBuilder
impl PartialEq<GetTokenOutputBuilder> 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 ==
.