@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) |
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()
For responses, this returns true if the service returned a value for the RequiredSignUpAttributes property.
|
CreateBackendAuthMFAConfig |
mfa()
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool 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 user pool.
|
List<String> |
requiredSignUpAttributesAsStrings()
The required attributes to sign up new users in the user pool.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateBackendAuthUserPoolConfig.Builder> |
serializableBuilderClass() |
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.
|
String |
signInMethodAsString()
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.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userPoolName()
The Amazon Cognito user pool name.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 policies for your Amazon Cognito user pool 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 user pool.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRequiredSignUpAttributes() method.
public final boolean hasRequiredSignUpAttributes()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> requiredSignUpAttributesAsStrings()
The required attributes to sign up new users in the user pool.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRequiredSignUpAttributes() method.
public final 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.
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().
SignInMethodpublic final String signInMethodAsString()
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.
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().
SignInMethodpublic final String userPoolName()
The Amazon Cognito user pool name.
public CreateBackendAuthUserPoolConfig.Builder toBuilder()
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)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.