CopyableBuilder<DeviceType.Builder,DeviceType>
, SdkBuilder<DeviceType.Builder,DeviceType>
public static interface DeviceType.Builder extends CopyableBuilder<DeviceType.Builder,DeviceType>
Modifier and Type | Method | Description |
---|---|---|
DeviceType.Builder |
deviceAttributes(Collection<AttributeType> deviceAttributes) |
The device attributes.
|
DeviceType.Builder |
deviceAttributes(AttributeType... deviceAttributes) |
The device attributes.
|
DeviceType.Builder |
deviceCreateDate(Date deviceCreateDate) |
The creation date of the device.
|
DeviceType.Builder |
deviceKey(String deviceKey) |
The device key.
|
DeviceType.Builder |
deviceLastAuthenticatedDate(Date deviceLastAuthenticatedDate) |
The date in which the device was last authenticated.
|
DeviceType.Builder |
deviceLastModifiedDate(Date deviceLastModifiedDate) |
The last modified date of the device.
|
copy
apply, build
DeviceType.Builder deviceKey(String deviceKey)
The device key.
deviceKey
- The device key.DeviceType.Builder deviceAttributes(Collection<AttributeType> deviceAttributes)
The device attributes.
deviceAttributes
- The device attributes.DeviceType.Builder deviceAttributes(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.DeviceType.Builder deviceCreateDate(Date deviceCreateDate)
The creation date of the device.
deviceCreateDate
- The creation date of the device.DeviceType.Builder deviceLastModifiedDate(Date deviceLastModifiedDate)
The last modified date of the device.
deviceLastModifiedDate
- The last modified date of the device.DeviceType.Builder deviceLastAuthenticatedDate(Date deviceLastAuthenticatedDate)
The date in which the device was last authenticated.
deviceLastAuthenticatedDate
- The date in which the device was last authenticated.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.