@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBackendAuthUserPoolConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes the Amazon Cognito user pool configuration for the auth resource to be configured for your Amplify project.
| Constructor and Description | 
|---|
CreateBackendAuthUserPoolConfig()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateBackendAuthUserPoolConfig | 
clone()  | 
boolean | 
equals(Object obj)  | 
CreateBackendAuthForgotPasswordConfig | 
getForgotPassword()
 (DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a
 part of your Amplify project. 
 | 
CreateBackendAuthMFAConfig | 
getMfa()
 Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a
 part of your Amplify project. 
 | 
CreateBackendAuthOAuthConfig | 
getOAuth()
 Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify
 project. 
 | 
CreateBackendAuthPasswordPolicyConfig | 
getPasswordPolicy()
 Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project. 
 | 
List<String> | 
getRequiredSignUpAttributes()
 The required attributes to sign up new users in the user pool. 
 | 
String | 
getSignInMethod()
 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. 
 | 
String | 
getUserPoolName()
 The Amazon Cognito user pool name. 
 | 
CreateBackendAuthVerificationMessageConfig | 
getVerificationMessage()
 Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your
 Amplify project. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setForgotPassword(CreateBackendAuthForgotPasswordConfig forgotPassword)
 (DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a
 part of your Amplify project. 
 | 
void | 
setMfa(CreateBackendAuthMFAConfig mfa)
 Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a
 part of your Amplify project. 
 | 
void | 
setOAuth(CreateBackendAuthOAuthConfig oAuth)
 Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify
 project. 
 | 
void | 
setPasswordPolicy(CreateBackendAuthPasswordPolicyConfig passwordPolicy)
 Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project. 
 | 
void | 
setRequiredSignUpAttributes(Collection<String> requiredSignUpAttributes)
 The required attributes to sign up new users in the user pool. 
 | 
void | 
setSignInMethod(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. 
 | 
void | 
setUserPoolName(String userPoolName)
 The Amazon Cognito user pool name. 
 | 
void | 
setVerificationMessage(CreateBackendAuthVerificationMessageConfig verificationMessage)
 Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your
 Amplify project. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateBackendAuthUserPoolConfig | 
withForgotPassword(CreateBackendAuthForgotPasswordConfig forgotPassword)
 (DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a
 part of your Amplify project. 
 | 
CreateBackendAuthUserPoolConfig | 
withMfa(CreateBackendAuthMFAConfig mfa)
 Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a
 part of your Amplify project. 
 | 
CreateBackendAuthUserPoolConfig | 
withOAuth(CreateBackendAuthOAuthConfig oAuth)
 Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify
 project. 
 | 
CreateBackendAuthUserPoolConfig | 
withPasswordPolicy(CreateBackendAuthPasswordPolicyConfig passwordPolicy)
 Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project. 
 | 
CreateBackendAuthUserPoolConfig | 
withRequiredSignUpAttributes(Collection<String> requiredSignUpAttributes)
 The required attributes to sign up new users in the user pool. 
 | 
CreateBackendAuthUserPoolConfig | 
withRequiredSignUpAttributes(RequiredSignUpAttributesElement... requiredSignUpAttributes)
 The required attributes to sign up new users in the user pool. 
 | 
CreateBackendAuthUserPoolConfig | 
withRequiredSignUpAttributes(String... requiredSignUpAttributes)
 The required attributes to sign up new users in the user pool. 
 | 
CreateBackendAuthUserPoolConfig | 
withSignInMethod(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 | 
withSignInMethod(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 | 
withUserPoolName(String userPoolName)
 The Amazon Cognito user pool name. 
 | 
CreateBackendAuthUserPoolConfig | 
withVerificationMessage(CreateBackendAuthVerificationMessageConfig verificationMessage)
 Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your
 Amplify project. 
 | 
public void setForgotPassword(CreateBackendAuthForgotPasswordConfig forgotPassword)
(DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
forgotPassword - (DEPRECATED)public CreateBackendAuthForgotPasswordConfig getForgotPassword()
(DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
public CreateBackendAuthUserPoolConfig withForgotPassword(CreateBackendAuthForgotPasswordConfig forgotPassword)
(DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
forgotPassword - (DEPRECATED)public void setMfa(CreateBackendAuthMFAConfig mfa)
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
mfa - Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool
        configured as a part of your Amplify project.public CreateBackendAuthMFAConfig getMfa()
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
public CreateBackendAuthUserPoolConfig withMfa(CreateBackendAuthMFAConfig mfa)
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
mfa - Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool
        configured as a part of your Amplify project.public void setOAuth(CreateBackendAuthOAuthConfig oAuth)
Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.
oAuth - Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your
        Amplify project.public CreateBackendAuthOAuthConfig getOAuth()
Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.
public CreateBackendAuthUserPoolConfig withOAuth(CreateBackendAuthOAuthConfig oAuth)
Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.
oAuth - Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your
        Amplify project.public void setPasswordPolicy(CreateBackendAuthPasswordPolicyConfig passwordPolicy)
Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
passwordPolicy - Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify
        project.public CreateBackendAuthPasswordPolicyConfig getPasswordPolicy()
Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
public CreateBackendAuthUserPoolConfig withPasswordPolicy(CreateBackendAuthPasswordPolicyConfig passwordPolicy)
Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
passwordPolicy - Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify
        project.public List<String> getRequiredSignUpAttributes()
The required attributes to sign up new users in the user pool.
RequiredSignUpAttributesElementpublic void setRequiredSignUpAttributes(Collection<String> requiredSignUpAttributes)
The required attributes to sign up new users in the user pool.
requiredSignUpAttributes - The required attributes to sign up new users in the user pool.RequiredSignUpAttributesElementpublic CreateBackendAuthUserPoolConfig withRequiredSignUpAttributes(String... requiredSignUpAttributes)
The required attributes to sign up new users in the user pool.
 NOTE: This method appends the values to the existing list (if any). Use
 setRequiredSignUpAttributes(java.util.Collection) or
 withRequiredSignUpAttributes(java.util.Collection) if you want to override the existing values.
 
requiredSignUpAttributes - The required attributes to sign up new users in the user pool.RequiredSignUpAttributesElementpublic CreateBackendAuthUserPoolConfig withRequiredSignUpAttributes(Collection<String> requiredSignUpAttributes)
The required attributes to sign up new users in the user pool.
requiredSignUpAttributes - The required attributes to sign up new users in the user pool.RequiredSignUpAttributesElementpublic CreateBackendAuthUserPoolConfig withRequiredSignUpAttributes(RequiredSignUpAttributesElement... requiredSignUpAttributes)
The required attributes to sign up new users in the user pool.
requiredSignUpAttributes - The required attributes to sign up new users in the user pool.RequiredSignUpAttributesElementpublic void setSignInMethod(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 - 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.SignInMethodpublic String getSignInMethod()
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.
SignInMethodpublic CreateBackendAuthUserPoolConfig withSignInMethod(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 - 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.SignInMethodpublic CreateBackendAuthUserPoolConfig withSignInMethod(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.
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.SignInMethodpublic void setUserPoolName(String userPoolName)
The Amazon Cognito user pool name.
userPoolName - The Amazon Cognito user pool name.public String getUserPoolName()
The Amazon Cognito user pool name.
public CreateBackendAuthUserPoolConfig withUserPoolName(String userPoolName)
The Amazon Cognito user pool name.
userPoolName - The Amazon Cognito user pool name.public void setVerificationMessage(CreateBackendAuthVerificationMessageConfig verificationMessage)
Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.
verificationMessage - Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of
        your Amplify project.public CreateBackendAuthVerificationMessageConfig getVerificationMessage()
Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.
public CreateBackendAuthUserPoolConfig withVerificationMessage(CreateBackendAuthVerificationMessageConfig verificationMessage)
Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.
verificationMessage - Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of
        your Amplify project.public String toString()
toString in class ObjectObject.toString()public CreateBackendAuthUserPoolConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.