Interface CreateBackendAuthUserPoolConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CreateBackendAuthUserPoolConfig.Builder,,CreateBackendAuthUserPoolConfig> SdkBuilder<CreateBackendAuthUserPoolConfig.Builder,,CreateBackendAuthUserPoolConfig> SdkPojo
- Enclosing class:
CreateBackendAuthUserPoolConfig
-
Method Summary
Modifier and TypeMethodDescriptionforgotPassword(Consumer<CreateBackendAuthForgotPasswordConfig.Builder> forgotPassword) (DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.forgotPassword(CreateBackendAuthForgotPasswordConfig forgotPassword) (DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.passwordPolicy(Consumer<CreateBackendAuthPasswordPolicyConfig.Builder> passwordPolicy) Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.passwordPolicy(CreateBackendAuthPasswordPolicyConfig passwordPolicy) Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.requiredSignUpAttributes(Collection<RequiredSignUpAttributesElement> requiredSignUpAttributes) The required attributes to sign up new users in the user pool.requiredSignUpAttributes(RequiredSignUpAttributesElement... requiredSignUpAttributes) The required attributes to sign up new users in the user pool.requiredSignUpAttributesWithStrings(String... requiredSignUpAttributes) The required attributes to sign up new users in the user pool.requiredSignUpAttributesWithStrings(Collection<String> requiredSignUpAttributes) The required attributes to sign up new users in the user pool.signInMethod(String 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.signInMethod(SignInMethod 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.userPoolName(String userPoolName) The Amazon Cognito user pool name.verificationMessage(Consumer<CreateBackendAuthVerificationMessageConfig.Builder> verificationMessage) Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.verificationMessage(CreateBackendAuthVerificationMessageConfig verificationMessage) Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
forgotPassword
CreateBackendAuthUserPoolConfig.Builder forgotPassword(CreateBackendAuthForgotPasswordConfig forgotPassword) (DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
- Parameters:
forgotPassword- (DEPRECATED)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forgotPassword
default CreateBackendAuthUserPoolConfig.Builder forgotPassword(Consumer<CreateBackendAuthForgotPasswordConfig.Builder> forgotPassword) (DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
This is a convenience method that creates an instance of theCreateBackendAuthForgotPasswordConfig.Builderavoiding the need to create one manually viaCreateBackendAuthForgotPasswordConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toforgotPassword(CreateBackendAuthForgotPasswordConfig).- Parameters:
forgotPassword- a consumer that will call methods onCreateBackendAuthForgotPasswordConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mfa
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
- Parameters:
mfa- Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mfa
default CreateBackendAuthUserPoolConfig.Builder mfa(Consumer<CreateBackendAuthMFAConfig.Builder> mfa) Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
This is a convenience method that creates an instance of theCreateBackendAuthMFAConfig.Builderavoiding the need to create one manually viaCreateBackendAuthMFAConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomfa(CreateBackendAuthMFAConfig).- Parameters:
mfa- a consumer that will call methods onCreateBackendAuthMFAConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth
Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.
- Parameters:
oAuth- Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth
default CreateBackendAuthUserPoolConfig.Builder oAuth(Consumer<CreateBackendAuthOAuthConfig.Builder> oAuth) Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.
This is a convenience method that creates an instance of theCreateBackendAuthOAuthConfig.Builderavoiding the need to create one manually viaCreateBackendAuthOAuthConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooAuth(CreateBackendAuthOAuthConfig).- Parameters:
oAuth- a consumer that will call methods onCreateBackendAuthOAuthConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
passwordPolicy
CreateBackendAuthUserPoolConfig.Builder passwordPolicy(CreateBackendAuthPasswordPolicyConfig passwordPolicy) Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
- Parameters:
passwordPolicy- Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passwordPolicy
default CreateBackendAuthUserPoolConfig.Builder passwordPolicy(Consumer<CreateBackendAuthPasswordPolicyConfig.Builder> passwordPolicy) Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
This is a convenience method that creates an instance of theCreateBackendAuthPasswordPolicyConfig.Builderavoiding the need to create one manually viaCreateBackendAuthPasswordPolicyConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topasswordPolicy(CreateBackendAuthPasswordPolicyConfig).- Parameters:
passwordPolicy- a consumer that will call methods onCreateBackendAuthPasswordPolicyConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requiredSignUpAttributesWithStrings
CreateBackendAuthUserPoolConfig.Builder requiredSignUpAttributesWithStrings(Collection<String> requiredSignUpAttributes) The required attributes to sign up new users in the user pool.
- Parameters:
requiredSignUpAttributes- The required attributes to sign up new users in the user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredSignUpAttributesWithStrings
CreateBackendAuthUserPoolConfig.Builder requiredSignUpAttributesWithStrings(String... requiredSignUpAttributes) The required attributes to sign up new users in the user pool.
- Parameters:
requiredSignUpAttributes- The required attributes to sign up new users in the user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredSignUpAttributes
CreateBackendAuthUserPoolConfig.Builder requiredSignUpAttributes(Collection<RequiredSignUpAttributesElement> requiredSignUpAttributes) The required attributes to sign up new users in the user pool.
- Parameters:
requiredSignUpAttributes- The required attributes to sign up new users in the user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredSignUpAttributes
CreateBackendAuthUserPoolConfig.Builder requiredSignUpAttributes(RequiredSignUpAttributesElement... requiredSignUpAttributes) The required attributes to sign up new users in the user pool.
- Parameters:
requiredSignUpAttributes- The required attributes to sign up new users in the user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userPoolName
The Amazon Cognito user pool name.
- Parameters:
userPoolName- The Amazon Cognito user pool name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verificationMessage
CreateBackendAuthUserPoolConfig.Builder verificationMessage(CreateBackendAuthVerificationMessageConfig verificationMessage) Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.
- Parameters:
verificationMessage- Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verificationMessage
default CreateBackendAuthUserPoolConfig.Builder verificationMessage(Consumer<CreateBackendAuthVerificationMessageConfig.Builder> verificationMessage) Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.
This is a convenience method that creates an instance of theCreateBackendAuthVerificationMessageConfig.Builderavoiding the need to create one manually viaCreateBackendAuthVerificationMessageConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toverificationMessage(CreateBackendAuthVerificationMessageConfig).- Parameters:
verificationMessage- a consumer that will call methods onCreateBackendAuthVerificationMessageConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-