@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceType extends Object implements Serializable, Cloneable, StructuredPojo
The device type.
Constructor and Description |
---|
DeviceType() |
Modifier and Type | Method and Description |
---|---|
DeviceType |
clone() |
boolean |
equals(Object obj) |
List<AttributeType> |
getDeviceAttributes()
The device attributes.
|
Date |
getDeviceCreateDate()
The creation date of the device.
|
String |
getDeviceKey()
The device key.
|
Date |
getDeviceLastAuthenticatedDate()
The date when the device was last authenticated.
|
Date |
getDeviceLastModifiedDate()
The date and time when the item was modified.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeviceAttributes(Collection<AttributeType> deviceAttributes)
The device attributes.
|
void |
setDeviceCreateDate(Date deviceCreateDate)
The creation date of the device.
|
void |
setDeviceKey(String deviceKey)
The device key.
|
void |
setDeviceLastAuthenticatedDate(Date deviceLastAuthenticatedDate)
The date when the device was last authenticated.
|
void |
setDeviceLastModifiedDate(Date deviceLastModifiedDate)
The date and time when the item was modified.
|
String |
toString()
Returns a string representation of this object.
|
DeviceType |
withDeviceAttributes(AttributeType... deviceAttributes)
The device attributes.
|
DeviceType |
withDeviceAttributes(Collection<AttributeType> deviceAttributes)
The device attributes.
|
DeviceType |
withDeviceCreateDate(Date deviceCreateDate)
The creation date of the device.
|
DeviceType |
withDeviceKey(String deviceKey)
The device key.
|
DeviceType |
withDeviceLastAuthenticatedDate(Date deviceLastAuthenticatedDate)
The date when the device was last authenticated.
|
DeviceType |
withDeviceLastModifiedDate(Date deviceLastModifiedDate)
The date and time when the item was modified.
|
public void setDeviceKey(String deviceKey)
The device key.
deviceKey
- The device key.public String getDeviceKey()
The device key.
public DeviceType withDeviceKey(String deviceKey)
The device key.
deviceKey
- The device key.public List<AttributeType> getDeviceAttributes()
The device attributes.
public void setDeviceAttributes(Collection<AttributeType> deviceAttributes)
The device attributes.
deviceAttributes
- The device attributes.public DeviceType withDeviceAttributes(AttributeType... deviceAttributes)
The device attributes.
NOTE: This method appends the values to the existing list (if any). Use
setDeviceAttributes(java.util.Collection)
or withDeviceAttributes(java.util.Collection)
if you
want to override the existing values.
deviceAttributes
- The device attributes.public DeviceType withDeviceAttributes(Collection<AttributeType> deviceAttributes)
The device attributes.
deviceAttributes
- The device attributes.public void setDeviceCreateDate(Date deviceCreateDate)
The creation date of the device.
deviceCreateDate
- The creation date of the device.public Date getDeviceCreateDate()
The creation date of the device.
public DeviceType withDeviceCreateDate(Date deviceCreateDate)
The creation date of the device.
deviceCreateDate
- The creation date of the device.public void setDeviceLastModifiedDate(Date deviceLastModifiedDate)
The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format.
Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date
object.
deviceLastModifiedDate
- The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time
format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java
Date
object.public Date getDeviceLastModifiedDate()
The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format.
Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date
object.
Date
object.public DeviceType withDeviceLastModifiedDate(Date deviceLastModifiedDate)
The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format.
Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date
object.
deviceLastModifiedDate
- The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time
format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java
Date
object.public void setDeviceLastAuthenticatedDate(Date deviceLastAuthenticatedDate)
The date when the device was last authenticated.
deviceLastAuthenticatedDate
- The date when the device was last authenticated.public Date getDeviceLastAuthenticatedDate()
The date when the device was last authenticated.
public DeviceType withDeviceLastAuthenticatedDate(Date deviceLastAuthenticatedDate)
The date when the device was last authenticated.
deviceLastAuthenticatedDate
- The date when the device was last authenticated.public String toString()
toString
in class Object
Object.toString()
public DeviceType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.