Class CreateBackendAuthMFAConfig
- java.lang.Object
-
- software.amazon.awssdk.services.amplifybackend.model.CreateBackendAuthMFAConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CreateBackendAuthMFAConfig.Builder,CreateBackendAuthMFAConfig>
@Generated("software.amazon.awssdk:codegen") public final class CreateBackendAuthMFAConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateBackendAuthMFAConfig.Builder,CreateBackendAuthMFAConfig>
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateBackendAuthMFAConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateBackendAuthMFAConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MFAModemfaMode()Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.StringmfaModeAsString()Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.List<SdkField<?>>sdkFields()static Class<? extends CreateBackendAuthMFAConfig.Builder>serializableBuilderClass()Settingssettings()Describes the configuration settings and methods for your Amplify app users to use MFA.CreateBackendAuthMFAConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
mfaMode
public final MFAMode mfaMode()
Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
If the service returns an enum value that is not available in the current SDK version,
mfaModewill returnMFAMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommfaModeAsString().- Returns:
- Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
- See Also:
MFAMode
-
mfaModeAsString
public final String mfaModeAsString()
Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
If the service returns an enum value that is not available in the current SDK version,
mfaModewill returnMFAMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommfaModeAsString().- Returns:
- Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
- See Also:
MFAMode
-
settings
public final Settings settings()
Describes the configuration settings and methods for your Amplify app users to use MFA.
- Returns:
- Describes the configuration settings and methods for your Amplify app users to use MFA.
-
toBuilder
public CreateBackendAuthMFAConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateBackendAuthMFAConfig.Builder,CreateBackendAuthMFAConfig>
-
builder
public static CreateBackendAuthMFAConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateBackendAuthMFAConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-