public static class DeviceCode.Builder extends Object
DeviceCode.| Constructor and Description |
|---|
Builder(String productType)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DeviceCode |
build()
Builds a new
DeviceCode object using the set fields. |
DeviceCode.Builder |
code(String code)
Setter for code.
|
DeviceCode.Builder |
createdAt(String createdAt)
Setter for createdAt.
|
DeviceCode.Builder |
deviceId(String deviceId)
Setter for deviceId.
|
DeviceCode.Builder |
id(String id)
Setter for id.
|
DeviceCode.Builder |
locationId(String locationId)
Setter for locationId.
|
DeviceCode.Builder |
name(String name)
Setter for name.
|
DeviceCode.Builder |
pairBy(String pairBy)
Setter for pairBy.
|
DeviceCode.Builder |
pairedAt(String pairedAt)
Setter for pairedAt.
|
DeviceCode.Builder |
productType(String productType)
Setter for productType.
|
DeviceCode.Builder |
status(String status)
Setter for status.
|
DeviceCode.Builder |
statusChangedAt(String statusChangedAt)
Setter for statusChangedAt.
|
public Builder(String productType)
productType - String value for productType.public DeviceCode.Builder productType(String productType)
productType - String value for productType.public DeviceCode.Builder id(String id)
id - String value for id.public DeviceCode.Builder name(String name)
name - String value for name.public DeviceCode.Builder code(String code)
code - String value for code.public DeviceCode.Builder deviceId(String deviceId)
deviceId - String value for deviceId.public DeviceCode.Builder locationId(String locationId)
locationId - String value for locationId.public DeviceCode.Builder status(String status)
status - String value for status.public DeviceCode.Builder pairBy(String pairBy)
pairBy - String value for pairBy.public DeviceCode.Builder createdAt(String createdAt)
createdAt - String value for createdAt.public DeviceCode.Builder statusChangedAt(String statusChangedAt)
statusChangedAt - String value for statusChangedAt.public DeviceCode.Builder pairedAt(String pairedAt)
pairedAt - String value for pairedAt.public DeviceCode build()
DeviceCode object using the set fields.DeviceCodeCopyright © 2022. All rights reserved.