#[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 ==
.impl StructuralPartialEq for EnableUserInputBuilder
Auto Trait Implementations§
impl Freeze for EnableUserInputBuilder
impl RefUnwindSafe for EnableUserInputBuilder
impl Send for EnableUserInputBuilder
impl Sync for EnableUserInputBuilder
impl Unpin for EnableUserInputBuilder
impl UnwindSafe for EnableUserInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more