DeviceGroupProps
Properties for defining a DeviceGroup
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-iot-devicegroup
Initializer
import com.aliyun.ros.cdk.iot.DeviceGroupProps;
DeviceGroupProps.builder()
.groupName(java.lang.String)
.groupName(IResolvable)
// .groupDesc(java.lang.String)
// .groupDesc(IResolvable)
// .iotInstanceId(java.lang.String)
// .iotInstanceId(IResolvable)
// .superGroupId(java.lang.String)
// .superGroupId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
groupName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property groupName: The name of the group. |
groupDesc |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property groupDesc: The description of the group. |
iotInstanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property iotInstanceId: Public instance does not pass this parameter; |
superGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property superGroupId: The ID of the parent group. |
groupName
Required
public java.lang.Object getGroupName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property groupName: The name of the group.
The name can contain Chinese characters, English letters, digits, and underscores (_). The length must be 4 to 30 characters (a Chinese character counts as two characters).
groupDesc
Optional
public java.lang.Object getGroupDesc();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property groupDesc: The description of the group.
You can enter a description with up to 100 characters.
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.
superGroupId
Optional
public java.lang.Object getSuperGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property superGroupId: The ID of the parent group.
If you want to create a first-level group, do not enter this parameter.