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