Interface SoftwareTokenMfaSettingsType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SoftwareTokenMfaSettingsType.Builder,,SoftwareTokenMfaSettingsType> SdkBuilder<SoftwareTokenMfaSettingsType.Builder,,SoftwareTokenMfaSettingsType> SdkPojo
- Enclosing class:
- SoftwareTokenMfaSettingsType
@Mutable
@NotThreadSafe
public static interface SoftwareTokenMfaSettingsType.Builder
extends SdkPojo, CopyableBuilder<SoftwareTokenMfaSettingsType.Builder,SoftwareTokenMfaSettingsType>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether software token MFA is activated.preferredMfa(Boolean preferredMfa) Specifies whether software token MFA 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 software token 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 software token 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 software token MFA is the preferred MFA method.
- Parameters:
preferredMfa- Specifies whether software token MFA is the preferred MFA method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-