@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceConfigurationType extends Object implements Serializable, Cloneable, StructuredPojo
The type of 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)
Marshalls this structured data using the given
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; 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 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 Object
Object.toString()
public DeviceConfigurationType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.