public static interface DeviceType.Builder extends SdkPojo, 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 when the device was last authenticated.
|
DeviceType.Builder |
deviceLastModifiedDate(Instant deviceLastModifiedDate)
The date and time, in ISO 8601 format,
when the item was modified.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDeviceType.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 method that creates an instance of theAttributeType.Builder avoiding the need
to create one manually via
AttributeType.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #deviceAttributes(List.
deviceAttributes - a consumer that will call methods on
AttributeType.Builder#deviceAttributes(java.util.Collection) DeviceType.Builder deviceCreateDate(Instant deviceCreateDate)
The creation date of the device.
deviceCreateDate - The creation date of the device.DeviceType.Builder deviceLastModifiedDate(Instant deviceLastModifiedDate)
The date and time, in ISO 8601 format, when the item was modified.
deviceLastModifiedDate - The date and time, in ISO 8601
format, when the item was modified.DeviceType.Builder deviceLastAuthenticatedDate(Instant deviceLastAuthenticatedDate)
The date when the device was last authenticated.
deviceLastAuthenticatedDate - The date when the device was last authenticated.Copyright © 2023. All rights reserved.