Interface CreateBackendAuthMFAConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CreateBackendAuthMFAConfig.Builder,
,CreateBackendAuthMFAConfig> SdkBuilder<CreateBackendAuthMFAConfig.Builder,
,CreateBackendAuthMFAConfig> SdkPojo
- Enclosing class:
CreateBackendAuthMFAConfig
public static interface CreateBackendAuthMFAConfig.Builder
extends SdkPojo, CopyableBuilder<CreateBackendAuthMFAConfig.Builder,CreateBackendAuthMFAConfig>
-
Method Summary
Modifier and TypeMethodDescriptionDescribes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.settings
(Consumer<Settings.Builder> settings) Describes the configuration settings and methods for your Amplify app users to use MFA.Describes the configuration settings and methods for your Amplify app users to use MFA.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
mfaMode
Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
- Parameters:
mfaMode
- Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mfaMode
Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
- Parameters:
mfaMode
- Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
settings
Describes the configuration settings and methods for your Amplify app users to use MFA.
- Parameters:
settings
- Describes the configuration settings and methods for your Amplify app users to use MFA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
Describes the configuration settings and methods for your Amplify app users to use MFA.
This is a convenience method that creates an instance of theSettings.Builder
avoiding the need to create one manually viaSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosettings(Settings)
.- Parameters:
settings
- a consumer that will call methods onSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-