@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 in which the device was last authenticated.
|
Date |
getDeviceLastModifiedDate()
The last modified date of the device.
|
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 in which the device was last authenticated.
|
void |
setDeviceLastModifiedDate(Date deviceLastModifiedDate)
The last modified date of the device.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 in which the device was last authenticated.
|
DeviceType |
withDeviceLastModifiedDate(Date deviceLastModifiedDate)
The last modified date of the device.
|
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 last modified date of the device.
deviceLastModifiedDate
- The last modified date of the device.public Date getDeviceLastModifiedDate()
The last modified date of the device.
public DeviceType withDeviceLastModifiedDate(Date deviceLastModifiedDate)
The last modified date of the device.
deviceLastModifiedDate
- The last modified date of the device.public void setDeviceLastAuthenticatedDate(Date deviceLastAuthenticatedDate)
The date in which the device was last authenticated.
deviceLastAuthenticatedDate
- The date in which the device was last authenticated.public Date getDeviceLastAuthenticatedDate()
The date in which the device was last authenticated.
public DeviceType withDeviceLastAuthenticatedDate(Date deviceLastAuthenticatedDate)
The date in which the device was last authenticated.
deviceLastAuthenticatedDate
- The date in which 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.