#[non_exhaustive]pub struct CreateBackendAuthUserPoolConfigBuilder { /* private fields */ }
Expand description
A builder for CreateBackendAuthUserPoolConfig
.
Implementations§
source§impl CreateBackendAuthUserPoolConfigBuilder
impl CreateBackendAuthUserPoolConfigBuilder
sourcepub fn forgot_password(
self,
input: CreateBackendAuthForgotPasswordConfig
) -> Self
pub fn forgot_password( self, input: CreateBackendAuthForgotPasswordConfig ) -> Self
(DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn set_forgot_password(
self,
input: Option<CreateBackendAuthForgotPasswordConfig>
) -> Self
pub fn set_forgot_password( self, input: Option<CreateBackendAuthForgotPasswordConfig> ) -> Self
(DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn get_forgot_password(
&self
) -> &Option<CreateBackendAuthForgotPasswordConfig>
pub fn get_forgot_password( &self ) -> &Option<CreateBackendAuthForgotPasswordConfig>
(DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn mfa(self, input: CreateBackendAuthMfaConfig) -> Self
pub fn mfa(self, input: CreateBackendAuthMfaConfig) -> Self
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
sourcepub fn set_mfa(self, input: Option<CreateBackendAuthMfaConfig>) -> Self
pub fn set_mfa(self, input: Option<CreateBackendAuthMfaConfig>) -> Self
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
sourcepub fn get_mfa(&self) -> &Option<CreateBackendAuthMfaConfig>
pub fn get_mfa(&self) -> &Option<CreateBackendAuthMfaConfig>
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
sourcepub fn o_auth(self, input: CreateBackendAuthOAuthConfig) -> Self
pub fn o_auth(self, input: CreateBackendAuthOAuthConfig) -> Self
Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn set_o_auth(self, input: Option<CreateBackendAuthOAuthConfig>) -> Self
pub fn set_o_auth(self, input: Option<CreateBackendAuthOAuthConfig>) -> Self
Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn get_o_auth(&self) -> &Option<CreateBackendAuthOAuthConfig>
pub fn get_o_auth(&self) -> &Option<CreateBackendAuthOAuthConfig>
Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn password_policy(
self,
input: CreateBackendAuthPasswordPolicyConfig
) -> Self
pub fn password_policy( self, input: CreateBackendAuthPasswordPolicyConfig ) -> Self
Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn set_password_policy(
self,
input: Option<CreateBackendAuthPasswordPolicyConfig>
) -> Self
pub fn set_password_policy( self, input: Option<CreateBackendAuthPasswordPolicyConfig> ) -> Self
Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn get_password_policy(
&self
) -> &Option<CreateBackendAuthPasswordPolicyConfig>
pub fn get_password_policy( &self ) -> &Option<CreateBackendAuthPasswordPolicyConfig>
Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn required_sign_up_attributes(
self,
input: RequiredSignUpAttributesElement
) -> Self
pub fn required_sign_up_attributes( self, input: RequiredSignUpAttributesElement ) -> Self
Appends an item to required_sign_up_attributes
.
To override the contents of this collection use set_required_sign_up_attributes
.
The required attributes to sign up new users in the user pool.
sourcepub fn set_required_sign_up_attributes(
self,
input: Option<Vec<RequiredSignUpAttributesElement>>
) -> Self
pub fn set_required_sign_up_attributes( self, input: Option<Vec<RequiredSignUpAttributesElement>> ) -> Self
The required attributes to sign up new users in the user pool.
sourcepub fn get_required_sign_up_attributes(
&self
) -> &Option<Vec<RequiredSignUpAttributesElement>>
pub fn get_required_sign_up_attributes( &self ) -> &Option<Vec<RequiredSignUpAttributesElement>>
The required attributes to sign up new users in the user pool.
sourcepub fn sign_in_method(self, input: SignInMethod) -> Self
pub fn sign_in_method(self, input: SignInMethod) -> Self
Describes the sign-in methods that your Amplify app users use to log in using the Amazon Cognito user pool, configured as a part of your Amplify project.
This field is required.sourcepub fn set_sign_in_method(self, input: Option<SignInMethod>) -> Self
pub fn set_sign_in_method(self, input: Option<SignInMethod>) -> Self
Describes the sign-in methods that your Amplify app users use to log in using the Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn get_sign_in_method(&self) -> &Option<SignInMethod>
pub fn get_sign_in_method(&self) -> &Option<SignInMethod>
Describes the sign-in methods that your Amplify app users use to log in using the Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn user_pool_name(self, input: impl Into<String>) -> Self
pub fn user_pool_name(self, input: impl Into<String>) -> Self
The Amazon Cognito user pool name.
This field is required.sourcepub fn set_user_pool_name(self, input: Option<String>) -> Self
pub fn set_user_pool_name(self, input: Option<String>) -> Self
The Amazon Cognito user pool name.
sourcepub fn get_user_pool_name(&self) -> &Option<String>
pub fn get_user_pool_name(&self) -> &Option<String>
The Amazon Cognito user pool name.
sourcepub fn verification_message(
self,
input: CreateBackendAuthVerificationMessageConfig
) -> Self
pub fn verification_message( self, input: CreateBackendAuthVerificationMessageConfig ) -> Self
Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn set_verification_message(
self,
input: Option<CreateBackendAuthVerificationMessageConfig>
) -> Self
pub fn set_verification_message( self, input: Option<CreateBackendAuthVerificationMessageConfig> ) -> Self
Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn get_verification_message(
&self
) -> &Option<CreateBackendAuthVerificationMessageConfig>
pub fn get_verification_message( &self ) -> &Option<CreateBackendAuthVerificationMessageConfig>
Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn build(self) -> CreateBackendAuthUserPoolConfig
pub fn build(self) -> CreateBackendAuthUserPoolConfig
Consumes the builder and constructs a CreateBackendAuthUserPoolConfig
.
Trait Implementations§
source§impl Clone for CreateBackendAuthUserPoolConfigBuilder
impl Clone for CreateBackendAuthUserPoolConfigBuilder
source§fn clone(&self) -> CreateBackendAuthUserPoolConfigBuilder
fn clone(&self) -> CreateBackendAuthUserPoolConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateBackendAuthUserPoolConfigBuilder
impl Default for CreateBackendAuthUserPoolConfigBuilder
source§fn default() -> CreateBackendAuthUserPoolConfigBuilder
fn default() -> CreateBackendAuthUserPoolConfigBuilder
source§impl PartialEq for CreateBackendAuthUserPoolConfigBuilder
impl PartialEq for CreateBackendAuthUserPoolConfigBuilder
source§fn eq(&self, other: &CreateBackendAuthUserPoolConfigBuilder) -> bool
fn eq(&self, other: &CreateBackendAuthUserPoolConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.