pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateBackendAuthUserPoolConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn forgot_password(
self,
input: UpdateBackendAuthForgotPasswordConfig
) -> Self
pub fn forgot_password(
self,
input: UpdateBackendAuthForgotPasswordConfig
) -> Self
(DEPRECATED) Describes the forgot password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn set_forgot_password(
self,
input: Option<UpdateBackendAuthForgotPasswordConfig>
) -> Self
pub fn set_forgot_password(
self,
input: Option<UpdateBackendAuthForgotPasswordConfig>
) -> Self
(DEPRECATED) Describes the forgot password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn mfa(self, input: UpdateBackendAuthMfaConfig) -> Self
pub fn mfa(self, input: UpdateBackendAuthMfaConfig) -> 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<UpdateBackendAuthMfaConfig>) -> Self
pub fn set_mfa(self, input: Option<UpdateBackendAuthMfaConfig>) -> 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 o_auth(self, input: UpdateBackendAuthOAuthConfig) -> Self
pub fn o_auth(self, input: UpdateBackendAuthOAuthConfig) -> 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<UpdateBackendAuthOAuthConfig>) -> Self
pub fn set_o_auth(self, input: Option<UpdateBackendAuthOAuthConfig>) -> Self
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: UpdateBackendAuthPasswordPolicyConfig
) -> Self
pub fn password_policy(
self,
input: UpdateBackendAuthPasswordPolicyConfig
) -> 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<UpdateBackendAuthPasswordPolicyConfig>
) -> Self
pub fn set_password_policy(
self,
input: Option<UpdateBackendAuthPasswordPolicyConfig>
) -> Self
Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn verification_message(
self,
input: UpdateBackendAuthVerificationMessageConfig
) -> Self
pub fn verification_message(
self,
input: UpdateBackendAuthVerificationMessageConfig
) -> 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<UpdateBackendAuthVerificationMessageConfig>
) -> Self
pub fn set_verification_message(
self,
input: Option<UpdateBackendAuthVerificationMessageConfig>
) -> Self
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) -> UpdateBackendAuthUserPoolConfig
pub fn build(self) -> UpdateBackendAuthUserPoolConfig
Consumes the builder and constructs a UpdateBackendAuthUserPoolConfig
.