@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceConfigurationType extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
DeviceConfigurationType() |
| Modifier and Type | Method and Description |
|---|---|
DeviceConfigurationType |
clone() |
boolean |
equals(Object obj) |
Boolean |
getChallengeRequiredOnNewDevice()
When true, device authentication can replace SMS and time-based one-time password (TOTP) factors for multi-factor
authentication (MFA).
|
Boolean |
getDeviceOnlyRememberedOnUserPrompt()
When true, users can opt in to remembering their device.
|
int |
hashCode() |
Boolean |
isChallengeRequiredOnNewDevice()
When true, device authentication can replace SMS and time-based one-time password (TOTP) factors for multi-factor
authentication (MFA).
|
Boolean |
isDeviceOnlyRememberedOnUserPrompt()
When true, users can opt in to remembering their device.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setChallengeRequiredOnNewDevice(Boolean challengeRequiredOnNewDevice)
When true, device authentication can replace SMS and time-based one-time password (TOTP) factors for multi-factor
authentication (MFA).
|
void |
setDeviceOnlyRememberedOnUserPrompt(Boolean deviceOnlyRememberedOnUserPrompt)
When true, users can opt in to remembering their device.
|
String |
toString()
Returns a string representation of this object.
|
DeviceConfigurationType |
withChallengeRequiredOnNewDevice(Boolean challengeRequiredOnNewDevice)
When true, device authentication can replace SMS and time-based one-time password (TOTP) factors for multi-factor
authentication (MFA).
|
DeviceConfigurationType |
withDeviceOnlyRememberedOnUserPrompt(Boolean deviceOnlyRememberedOnUserPrompt)
When true, users can opt in to remembering their device.
|
public void setChallengeRequiredOnNewDevice(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.
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.
public Boolean getChallengeRequiredOnNewDevice()
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 DeviceConfigurationType withChallengeRequiredOnNewDevice(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.
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.
public Boolean isChallengeRequiredOnNewDevice()
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 void setDeviceOnlyRememberedOnUserPrompt(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.
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 Boolean getDeviceOnlyRememberedOnUserPrompt()
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 withDeviceOnlyRememberedOnUserPrompt(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.
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 Boolean isDeviceOnlyRememberedOnUserPrompt()
When true, users can opt in to remembering their device. Your app code must use callback functions to return the user's choice.
public String toString()
toString in class ObjectObject.toString()public DeviceConfigurationType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.