DeviceProps
Properties for defining a Device
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-iot-device
Initializer
import com.aliyun.ros.cdk.iot.DeviceProps;
DeviceProps.builder()
.productKey(java.lang.String)
.productKey(IResolvable)
// .devEui(java.lang.String)
// .devEui(IResolvable)
// .deviceName(java.lang.String)
// .deviceName(IResolvable)
// .iotInstanceId(java.lang.String)
// .iotInstanceId(IResolvable)
// .nickname(java.lang.String)
// .nickname(IResolvable)
// .pinCode(java.lang.String)
// .pinCode(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
productKey |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property productKey: The identifier of the product to which the device to be registered belongs. |
devEui |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property devEui: DevEUI LoRaWAN equipment. |
deviceName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property deviceName: The name of the device that you want to register. |
iotInstanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property iotInstanceId: Public instance does not pass this parameter; |
nickname |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property nickname: Add a nickname for the device. |
pinCode |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property pinCode: PIN Code LoRaWAN device for checking the legitimacy of DevEUI. |
productKey
Required
public java.lang.Object getProductKey();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property productKey: The identifier of the product to which the device to be registered belongs.
devEui
Optional
public java.lang.Object getDevEui();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property devEui: DevEUI LoRaWAN equipment.
When you create a LoRaWAN devices, this will pass.
deviceName
Optional
public java.lang.Object getDeviceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property deviceName: The name of the device that you want to register.
The device name must consist of 4 to 32 characters, including English letters, digits, and special characters, for example, hyphens (-), underscores (_), at signs (@), periods (.) , and colons (:). DeviceName is used with ProductKey to identify a specified device. Note If you do not specify this parameter, the system will generate a name for the device.
iotInstanceId
Optional
public java.lang.Object getIotInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property iotInstanceId: Public instance does not pass this parameter;
instance that you need to buy the incoming instance ID.
nickname
Optional
public java.lang.Object getNickname();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property nickname: Add a nickname for the device.
A nickname can be 4-64 characters in length, and can contain Chinese characters, English letters, numbers and underscores (_). A Chinese character counts as two characters.
pinCode
Optional
public java.lang.Object getPinCode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property pinCode: PIN Code LoRaWAN device for checking the legitimacy of DevEUI.
When you create a LoRaWAN devices, this will pass.