@Generated(value="software.amazon.awssdk:codegen") public final class SoftwareTokenMfaSettingsType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SoftwareTokenMfaSettingsType.Builder,SoftwareTokenMfaSettingsType>
The type used for enabling software token MFA at the user level. 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. If you want MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate MFA for users and turn on Adaptive Authentication for the user pool.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SoftwareTokenMfaSettingsType.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SoftwareTokenMfaSettingsType.Builder |
builder() |
Boolean |
enabled()
Specifies whether software token MFA is activated.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
preferredMfa()
Specifies whether software token MFA is the preferred MFA method.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SoftwareTokenMfaSettingsType.Builder> |
serializableBuilderClass() |
SoftwareTokenMfaSettingsType.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean 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.
public final Boolean preferredMfa()
Specifies whether software token MFA is the preferred MFA method.
public SoftwareTokenMfaSettingsType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SoftwareTokenMfaSettingsType.Builder,SoftwareTokenMfaSettingsType>public static SoftwareTokenMfaSettingsType.Builder builder()
public static Class<? extends SoftwareTokenMfaSettingsType.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.