public static interface DeviceType.Builder extends CopyableBuilder<DeviceType.Builder,DeviceType>
Modifier and Type | Method and Description |
---|---|
DeviceType.Builder |
deviceAttributes(AttributeType... deviceAttributes)
The device attributes.
|
DeviceType.Builder |
deviceAttributes(Collection<AttributeType> deviceAttributes)
The device attributes.
|
DeviceType.Builder |
deviceAttributes(Consumer<AttributeType.Builder>... deviceAttributes)
The device attributes.
|
DeviceType.Builder |
deviceCreateDate(Instant deviceCreateDate)
The creation date of the device.
|
DeviceType.Builder |
deviceKey(String deviceKey)
The device key.
|
DeviceType.Builder |
deviceLastAuthenticatedDate(Instant deviceLastAuthenticatedDate)
The date in which the device was last authenticated.
|
DeviceType.Builder |
deviceLastModifiedDate(Instant 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.
deviceAttributes
- The device attributes.DeviceType.Builder deviceAttributes(Consumer<AttributeType.Builder>... deviceAttributes)
The device attributes.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #deviceAttributes(List)
.deviceAttributes
- a consumer that will call methods on List.Builder
#deviceAttributes(List)
DeviceType.Builder deviceCreateDate(Instant deviceCreateDate)
The creation date of the device.
deviceCreateDate
- The creation date of the device.DeviceType.Builder deviceLastModifiedDate(Instant deviceLastModifiedDate)
The last modified date of the device.
deviceLastModifiedDate
- The last modified date of the device.DeviceType.Builder deviceLastAuthenticatedDate(Instant 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.