@Generated(value="software.amazon.awssdk:codegen") public final class DeviceConfigurationType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeviceConfigurationType.Builder,DeviceConfigurationType>
The device tracking configuration for a user pool. A user pool with device tracking deactivated returns a null value.
When you provide values for any DeviceConfiguration field, you activate device tracking.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeviceConfigurationType.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeviceConfigurationType.Builder |
builder() |
Boolean |
challengeRequiredOnNewDevice()
When true, device authentication can replace SMS and time-based one-time password (TOTP) factors for multi-factor
authentication (MFA).
|
Boolean |
deviceOnlyRememberedOnUserPrompt()
When true, users can opt in to remembering their device.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeviceConfigurationType.Builder> |
serializableBuilderClass() |
DeviceConfigurationType.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean challengeRequiredOnNewDevice()
When true, device authentication can replace SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).
Users that sign in with devices that have not been confirmed or remembered will still have to provide a second factor, whether or not ChallengeRequiredOnNewDevice is true, when your user pool requires MFA.
Users that sign in with devices that have not been confirmed or remembered will still have to provide a second factor, whether or not ChallengeRequiredOnNewDevice is true, when your user pool requires MFA.
public final Boolean deviceOnlyRememberedOnUserPrompt()
When true, users can opt in to remembering their device. Your app code must use callback functions to return the user's choice.
public DeviceConfigurationType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeviceConfigurationType.Builder,DeviceConfigurationType>public static DeviceConfigurationType.Builder builder()
public static Class<? extends DeviceConfigurationType.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.