public class DeviceConfigurationType extends Object implements Serializable
The configuration for the user pool's device tracking.
| Constructor and Description |
|---|
DeviceConfigurationType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getChallengeRequiredOnNewDevice()
Indicates whether a challenge is required on a new device.
|
Boolean |
getDeviceOnlyRememberedOnUserPrompt()
If true, a device is only remembered on user prompt.
|
int |
hashCode() |
Boolean |
isChallengeRequiredOnNewDevice()
Indicates whether a challenge is required on a new device.
|
Boolean |
isDeviceOnlyRememberedOnUserPrompt()
If true, a device is only remembered on user prompt.
|
void |
setChallengeRequiredOnNewDevice(Boolean challengeRequiredOnNewDevice)
Indicates whether a challenge is required on a new device.
|
void |
setDeviceOnlyRememberedOnUserPrompt(Boolean deviceOnlyRememberedOnUserPrompt)
If true, a device is only remembered on user prompt.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeviceConfigurationType |
withChallengeRequiredOnNewDevice(Boolean challengeRequiredOnNewDevice)
Indicates whether a challenge is required on a new device.
|
DeviceConfigurationType |
withDeviceOnlyRememberedOnUserPrompt(Boolean deviceOnlyRememberedOnUserPrompt)
If true, a device is only remembered on user prompt.
|
public Boolean isChallengeRequiredOnNewDevice()
Indicates whether a challenge is required on a new device. Only applicable to a new device.
Indicates whether a challenge is required on a new device. Only applicable to a new device.
public Boolean getChallengeRequiredOnNewDevice()
Indicates whether a challenge is required on a new device. Only applicable to a new device.
Indicates whether a challenge is required on a new device. Only applicable to a new device.
public void setChallengeRequiredOnNewDevice(Boolean challengeRequiredOnNewDevice)
Indicates whether a challenge is required on a new device. Only applicable to a new device.
challengeRequiredOnNewDevice - Indicates whether a challenge is required on a new device. Only applicable to a new device.
public DeviceConfigurationType withChallengeRequiredOnNewDevice(Boolean challengeRequiredOnNewDevice)
Indicates whether a challenge is required on a new device. Only applicable to a new device.
Returns a reference to this object so that method calls can be chained together.
challengeRequiredOnNewDevice - Indicates whether a challenge is required on a new device. Only applicable to a new device.
public Boolean isDeviceOnlyRememberedOnUserPrompt()
If true, a device is only remembered on user prompt.
If true, a device is only remembered on user prompt.
public Boolean getDeviceOnlyRememberedOnUserPrompt()
If true, a device is only remembered on user prompt.
If true, a device is only remembered on user prompt.
public void setDeviceOnlyRememberedOnUserPrompt(Boolean deviceOnlyRememberedOnUserPrompt)
If true, a device is only remembered on user prompt.
deviceOnlyRememberedOnUserPrompt - If true, a device is only remembered on user prompt.
public DeviceConfigurationType withDeviceOnlyRememberedOnUserPrompt(Boolean deviceOnlyRememberedOnUserPrompt)
If true, a device is only remembered on user prompt.
Returns a reference to this object so that method calls can be chained together.
deviceOnlyRememberedOnUserPrompt - If true, a device is only remembered on user prompt.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.