#[non_exhaustive]pub struct EnableUserInputBuilder { /* private fields */ }
Expand description
A builder for EnableUserInput
.
Implementations§
source§impl EnableUserInputBuilder
impl EnableUserInputBuilder
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The email address of the user.
Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
sourcepub fn set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
The email address of the user.
Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
sourcepub fn get_user_name(&self) -> &Option<String>
pub fn get_user_name(&self) -> &Option<String>
The email address of the user.
Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
sourcepub fn authentication_type(self, input: AuthenticationType) -> Self
pub fn authentication_type(self, input: AuthenticationType) -> Self
The authentication type for the user. You must specify USERPOOL.
This field is required.sourcepub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
pub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
The authentication type for the user. You must specify USERPOOL.
sourcepub fn get_authentication_type(&self) -> &Option<AuthenticationType>
pub fn get_authentication_type(&self) -> &Option<AuthenticationType>
The authentication type for the user. You must specify USERPOOL.
sourcepub fn build(self) -> Result<EnableUserInput, BuildError>
pub fn build(self) -> Result<EnableUserInput, BuildError>
Consumes the builder and constructs a EnableUserInput
.
source§impl EnableUserInputBuilder
impl EnableUserInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<EnableUserOutput, SdkError<EnableUserError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<EnableUserOutput, SdkError<EnableUserError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for EnableUserInputBuilder
impl Clone for EnableUserInputBuilder
source§fn clone(&self) -> EnableUserInputBuilder
fn clone(&self) -> EnableUserInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EnableUserInputBuilder
impl Debug for EnableUserInputBuilder
source§impl Default for EnableUserInputBuilder
impl Default for EnableUserInputBuilder
source§fn default() -> EnableUserInputBuilder
fn default() -> EnableUserInputBuilder
source§impl PartialEq for EnableUserInputBuilder
impl PartialEq for EnableUserInputBuilder
source§fn eq(&self, other: &EnableUserInputBuilder) -> bool
fn eq(&self, other: &EnableUserInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.