Class WebAuthnMfaSettingsType

java.lang.Object
software.amazon.awssdk.services.cognitoidentityprovider.model.WebAuthnMfaSettingsType
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<WebAuthnMfaSettingsType.Builder,WebAuthnMfaSettingsType>

@Generated("software.amazon.awssdk:codegen") public final class WebAuthnMfaSettingsType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WebAuthnMfaSettingsType.Builder,WebAuthnMfaSettingsType>

A user's preference for using passkey, or WebAuthn, multi-factor authentication (MFA). Turns passkey MFA on and off for the user. Unlike other MFA settings types, this type doesn't include a PreferredMfa option because passkey MFA applies only when passkey is the first authentication factor.

See Also:
  • Method Details

    • enabled

      public final Boolean enabled()

      Specifies whether passkey MFA is activated for a user. When activated, the user's passkey authentication requires user verification, and passkey sign-in is available when MFA is required. The user must also have at least one other MFA method such as SMS, TOTP, or email activated to prevent account lockout.

      Returns:
      Specifies whether passkey MFA is activated for a user. When activated, the user's passkey authentication requires user verification, and passkey sign-in is available when MFA is required. The user must also have at least one other MFA method such as SMS, TOTP, or email activated to prevent account lockout.
    • toBuilder

      public WebAuthnMfaSettingsType.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<WebAuthnMfaSettingsType.Builder,WebAuthnMfaSettingsType>
    • builder

      public static WebAuthnMfaSettingsType.Builder builder()
    • serializableBuilderClass

      public static Class<? extends WebAuthnMfaSettingsType.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo