@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceConfigurationType extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for the user pool's device tracking.
| Constructor and Description |
|---|
DeviceConfigurationType() |
| Modifier and Type | Method and Description |
|---|---|
DeviceConfigurationType |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller) |
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.
|
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 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 Boolean getChallengeRequiredOnNewDevice()
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.
challengeRequiredOnNewDevice - Indicates whether a challenge is required on a new device. Only applicable to a new device.public Boolean isChallengeRequiredOnNewDevice()
Indicates whether a challenge is required on a new device. Only applicable to a new device.
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 Boolean getDeviceOnlyRememberedOnUserPrompt()
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.
deviceOnlyRememberedOnUserPrompt - If true, a device is only remembered on user prompt.public Boolean isDeviceOnlyRememberedOnUserPrompt()
If true, a device is only remembered on user prompt.
public String toString()
toString in class ObjectObject.toString()public DeviceConfigurationType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.