List of usage examples for com.amazonaws.services.cognitoidp.model DeviceType getDeviceCreateDate
public java.util.Date getDeviceCreateDate()
The creation date of the device.
From source file:io.fineo.client.auth.cognito.CognitoDevice.java
License:Open Source License
/** * Constructs a {@link CognitoDevice} object with {@link DeviceType} object. * * @param device REQUIRED: A {@link DeviceType} object. * @param user REQUIRED: The {@link CognitoUser} this device is linked to. *//*from www .ja va 2s . c om*/ public CognitoDevice(DeviceType device, CognitoUser user) { this.deviceKey = device.getDeviceKey(); this.deviceAttributes = new CognitoUserAttributes(device.getDeviceAttributes()); this.createDate = device.getDeviceCreateDate(); this.lastModifiedDate = device.getDeviceLastModifiedDate(); this.lastAccessedDate = device.getDeviceLastModifiedDate(); this.user = user; }