#[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 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.
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<DisableUserInput, BuildError>
pub fn build(self) -> Result<DisableUserInput, BuildError>
Consumes the builder and constructs a DisableUserInput
.
source§impl DisableUserInputBuilder
impl DisableUserInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DisableUserOutput, SdkError<DisableUserError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DisableUserOutput, SdkError<DisableUserError, HttpResponse>>
Sends a request with this input using the given client.
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 for DisableUserInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for DisableUserInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DisableUserInputBuilder
impl Send for DisableUserInputBuilder
impl Sync for DisableUserInputBuilder
impl Unpin for DisableUserInputBuilder
impl UnwindSafe for DisableUserInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.