@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()
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 (MFA) policies for your Amazon Cognito user pool that's
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 Amazon Cognito user pool.
|
String |
getSignInMethod()
Describes the sign-in methods that your Amplify app users to log in using the Amazon Cognito user pool that's
configured as a part of your Amplify project.
|
String |
getUserPoolName()
The Amazon Cognito user pool name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setForgotPassword(CreateBackendAuthForgotPasswordConfig forgotPassword)
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 (MFA) policies for your Amazon Cognito user pool that's
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 Amazon Cognito user pool.
|
void |
setSignInMethod(String signInMethod)
Describes the sign-in methods that your Amplify app users to log in using the Amazon Cognito user pool that's
configured as a part of your Amplify project.
|
void |
setUserPoolName(String userPoolName)
The Amazon Cognito user pool name.
|
String |
toString()
Returns a string representation of this object.
|
CreateBackendAuthUserPoolConfig |
withForgotPassword(CreateBackendAuthForgotPasswordConfig forgotPassword)
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 (MFA) policies for your Amazon Cognito user pool that's
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 Amazon Cognito user pool.
|
CreateBackendAuthUserPoolConfig |
withRequiredSignUpAttributes(RequiredSignUpAttributesElement... requiredSignUpAttributes)
The required attributes to sign up new users in the Amazon Cognito user pool.
|
CreateBackendAuthUserPoolConfig |
withRequiredSignUpAttributes(String... requiredSignUpAttributes)
The required attributes to sign up new users in the Amazon Cognito user pool.
|
CreateBackendAuthUserPoolConfig |
withSignInMethod(SignInMethod signInMethod)
Describes the sign-in methods that your Amplify app users to log in using the Amazon Cognito user pool that's
configured as a part of your Amplify project.
|
CreateBackendAuthUserPoolConfig |
withSignInMethod(String signInMethod)
Describes the sign-in methods that your Amplify app users to log in using the Amazon Cognito user pool that's
configured as a part of your Amplify project.
|
CreateBackendAuthUserPoolConfig |
withUserPoolName(String userPoolName)
The Amazon Cognito user pool name.
|
public void setForgotPassword(CreateBackendAuthForgotPasswordConfig forgotPassword)
Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
forgotPassword
- Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your
Amplify project.public CreateBackendAuthForgotPasswordConfig getForgotPassword()
Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
public CreateBackendAuthUserPoolConfig withForgotPassword(CreateBackendAuthForgotPasswordConfig forgotPassword)
Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
forgotPassword
- Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your
Amplify project.public void setMfa(CreateBackendAuthMFAConfig mfa)
Describes whether to apply multi-factor authentication (MFA) policies for your Amazon Cognito user pool that's configured as a part of your Amplify project.
mfa
- Describes whether to apply multi-factor authentication (MFA) policies for your Amazon Cognito user pool
that's configured as a part of your Amplify project.public CreateBackendAuthMFAConfig getMfa()
Describes whether to apply multi-factor authentication (MFA) policies for your Amazon Cognito user pool that's configured as a part of your Amplify project.
public CreateBackendAuthUserPoolConfig withMfa(CreateBackendAuthMFAConfig mfa)
Describes whether to apply multi-factor authentication (MFA) policies for your Amazon Cognito user pool that's configured as a part of your Amplify project.
mfa
- Describes whether to apply multi-factor authentication (MFA) policies for your Amazon Cognito user pool
that's 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 Amazon Cognito user pool.
RequiredSignUpAttributesElement
public void setRequiredSignUpAttributes(Collection<String> requiredSignUpAttributes)
The required attributes to sign up new users in the Amazon Cognito user pool.
requiredSignUpAttributes
- The required attributes to sign up new users in the Amazon Cognito user pool.RequiredSignUpAttributesElement
public CreateBackendAuthUserPoolConfig withRequiredSignUpAttributes(String... requiredSignUpAttributes)
The required attributes to sign up new users in the Amazon Cognito 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 Amazon Cognito user pool.RequiredSignUpAttributesElement
public CreateBackendAuthUserPoolConfig withRequiredSignUpAttributes(Collection<String> requiredSignUpAttributes)
The required attributes to sign up new users in the Amazon Cognito user pool.
requiredSignUpAttributes
- The required attributes to sign up new users in the Amazon Cognito user pool.RequiredSignUpAttributesElement
public CreateBackendAuthUserPoolConfig withRequiredSignUpAttributes(RequiredSignUpAttributesElement... requiredSignUpAttributes)
The required attributes to sign up new users in the Amazon Cognito user pool.
requiredSignUpAttributes
- The required attributes to sign up new users in the Amazon Cognito user pool.RequiredSignUpAttributesElement
public void setSignInMethod(String signInMethod)
Describes the sign-in methods that your Amplify app users to log in using the Amazon Cognito user pool that's configured as a part of your Amplify project.
signInMethod
- Describes the sign-in methods that your Amplify app users to log in using the Amazon Cognito user pool
that's configured as a part of your Amplify project.SignInMethod
public String getSignInMethod()
Describes the sign-in methods that your Amplify app users to log in using the Amazon Cognito user pool that's configured as a part of your Amplify project.
SignInMethod
public CreateBackendAuthUserPoolConfig withSignInMethod(String signInMethod)
Describes the sign-in methods that your Amplify app users to log in using the Amazon Cognito user pool that's configured as a part of your Amplify project.
signInMethod
- Describes the sign-in methods that your Amplify app users to log in using the Amazon Cognito user pool
that's configured as a part of your Amplify project.SignInMethod
public CreateBackendAuthUserPoolConfig withSignInMethod(SignInMethod signInMethod)
Describes the sign-in methods that your Amplify app users to log in using the Amazon Cognito user pool that's configured as a part of your Amplify project.
signInMethod
- Describes the sign-in methods that your Amplify app users to log in using the Amazon Cognito user pool
that's configured as a part of your Amplify project.SignInMethod
public 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 String toString()
toString
in class Object
Object.toString()
public CreateBackendAuthUserPoolConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.