Interface CreateBackendAuthUserPoolConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CreateBackendAuthUserPoolConfig.Builder,CreateBackendAuthUserPoolConfig>,SdkBuilder<CreateBackendAuthUserPoolConfig.Builder,CreateBackendAuthUserPoolConfig>,SdkPojo
- Enclosing class:
- CreateBackendAuthUserPoolConfig
public static interface CreateBackendAuthUserPoolConfig.Builder extends SdkPojo, CopyableBuilder<CreateBackendAuthUserPoolConfig.Builder,CreateBackendAuthUserPoolConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateBackendAuthUserPoolConfig.BuilderforgotPassword(Consumer<CreateBackendAuthForgotPasswordConfig.Builder> forgotPassword)(DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.CreateBackendAuthUserPoolConfig.BuilderforgotPassword(CreateBackendAuthForgotPasswordConfig forgotPassword)(DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.default CreateBackendAuthUserPoolConfig.Buildermfa(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.CreateBackendAuthUserPoolConfig.Buildermfa(CreateBackendAuthMFAConfig mfa)Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.default CreateBackendAuthUserPoolConfig.BuilderoAuth(Consumer<CreateBackendAuthOAuthConfig.Builder> oAuth)Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.CreateBackendAuthUserPoolConfig.BuilderoAuth(CreateBackendAuthOAuthConfig oAuth)Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.default CreateBackendAuthUserPoolConfig.BuilderpasswordPolicy(Consumer<CreateBackendAuthPasswordPolicyConfig.Builder> passwordPolicy)Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.CreateBackendAuthUserPoolConfig.BuilderpasswordPolicy(CreateBackendAuthPasswordPolicyConfig passwordPolicy)Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.CreateBackendAuthUserPoolConfig.BuilderrequiredSignUpAttributes(Collection<RequiredSignUpAttributesElement> requiredSignUpAttributes)The required attributes to sign up new users in the user pool.CreateBackendAuthUserPoolConfig.BuilderrequiredSignUpAttributes(RequiredSignUpAttributesElement... requiredSignUpAttributes)The required attributes to sign up new users in the user pool.CreateBackendAuthUserPoolConfig.BuilderrequiredSignUpAttributesWithStrings(String... requiredSignUpAttributes)The required attributes to sign up new users in the user pool.CreateBackendAuthUserPoolConfig.BuilderrequiredSignUpAttributesWithStrings(Collection<String> requiredSignUpAttributes)The required attributes to sign up new users in the user pool.CreateBackendAuthUserPoolConfig.BuildersignInMethod(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.CreateBackendAuthUserPoolConfig.BuildersignInMethod(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.CreateBackendAuthUserPoolConfig.BuilderuserPoolName(String userPoolName)The Amazon Cognito user pool name.default CreateBackendAuthUserPoolConfig.BuilderverificationMessage(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.CreateBackendAuthUserPoolConfig.BuilderverificationMessage(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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:
forgotPassword(CreateBackendAuthForgotPasswordConfig)
-
mfa
CreateBackendAuthUserPoolConfig.Builder mfa(CreateBackendAuthMFAConfig 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:
mfa(CreateBackendAuthMFAConfig)
-
oAuth
CreateBackendAuthUserPoolConfig.Builder oAuth(CreateBackendAuthOAuthConfig 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:
oAuth(CreateBackendAuthOAuthConfig)
-
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:
passwordPolicy(CreateBackendAuthPasswordPolicyConfig)
-
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
CreateBackendAuthUserPoolConfig.Builder 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.
- 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,SignInMethod
-
signInMethod
CreateBackendAuthUserPoolConfig.Builder 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.
- 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,SignInMethod
-
userPoolName
CreateBackendAuthUserPoolConfig.Builder userPoolName(String 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:
verificationMessage(CreateBackendAuthVerificationMessageConfig)
-
-