Struct aws_sdk_amplifybackend::output::get_token_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetTokenOutput
.
Implementations§
source§impl Builder
impl Builder
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
.