@Generated(value="software.amazon.awssdk:codegen") public final class CreateBackendAuthUserPoolConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateBackendAuthUserPoolConfig.Builder,CreateBackendAuthUserPoolConfig>
Describes the Amazon Cognito user pool configuration for the auth resource to be configured for your Amplify project.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateBackendAuthUserPoolConfig.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateBackendAuthUserPoolConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
CreateBackendAuthForgotPasswordConfig |
forgotPassword()
Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify
project.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRequiredSignUpAttributes()
Returns true if the RequiredSignUpAttributes property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
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.
|
CreateBackendAuthOAuthConfig |
oAuth()
Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify
project.
|
CreateBackendAuthPasswordPolicyConfig |
passwordPolicy()
Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
|
List<RequiredSignUpAttributesElement> |
requiredSignUpAttributes()
The required attributes to sign up new users in the Amazon Cognito user pool.
|
List<String> |
requiredSignUpAttributesAsStrings()
The required attributes to sign up new users in the Amazon Cognito user pool.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateBackendAuthUserPoolConfig.Builder> |
serializableBuilderClass() |
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.
|
String |
signInMethodAsString()
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.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
String |
userPoolName()
The Amazon Cognito user pool name.
|
copy
public final CreateBackendAuthForgotPasswordConfig forgotPassword()
Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
public final 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.
public final CreateBackendAuthOAuthConfig oAuth()
Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.
public final CreateBackendAuthPasswordPolicyConfig passwordPolicy()
Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
public final List<RequiredSignUpAttributesElement> requiredSignUpAttributes()
The required attributes to sign up new users in the Amazon Cognito user pool.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRequiredSignUpAttributes()
to see if a value was sent in this field.
public final boolean hasRequiredSignUpAttributes()
public final List<String> requiredSignUpAttributesAsStrings()
The required attributes to sign up new users in the Amazon Cognito user pool.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRequiredSignUpAttributes()
to see if a value was sent in this field.
public final 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.
If the service returns an enum value that is not available in the current SDK version, signInMethod
will
return SignInMethod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
signInMethodAsString()
.
SignInMethod
public final String signInMethodAsString()
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.
If the service returns an enum value that is not available in the current SDK version, signInMethod
will
return SignInMethod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
signInMethodAsString()
.
SignInMethod
public final String userPoolName()
The Amazon Cognito user pool name.
public CreateBackendAuthUserPoolConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateBackendAuthUserPoolConfig.Builder,CreateBackendAuthUserPoolConfig>
public static CreateBackendAuthUserPoolConfig.Builder builder()
public static Class<? extends CreateBackendAuthUserPoolConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()