Interface SMSMfaSettingsType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SMSMfaSettingsType.Builder,,SMSMfaSettingsType> SdkBuilder<SMSMfaSettingsType.Builder,,SMSMfaSettingsType> SdkPojo
- Enclosing class:
- SMSMfaSettingsType
@Mutable
@NotThreadSafe
public static interface SMSMfaSettingsType.Builder
extends SdkPojo, CopyableBuilder<SMSMfaSettingsType.Builder,SMSMfaSettingsType>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether SMS message MFA is activated.preferredMfa(Boolean preferredMfa) Specifies whether SMS is the preferred MFA method.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
enabled
Specifies whether SMS message MFA is activated. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts, unless device tracking is turned on and the device has been trusted.
- Parameters:
enabled- Specifies whether SMS message MFA is activated. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts, unless device tracking is turned on and the device has been trusted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredMfa
Specifies whether SMS is the preferred MFA method. If true, your user pool prompts the specified user for a code delivered by SMS message after username-password sign-in succeeds.
- Parameters:
preferredMfa- Specifies whether SMS is the preferred MFA method. If true, your user pool prompts the specified user for a code delivered by SMS message after username-password sign-in succeeds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-