DeviceTwinDevice.setTags 方法

定义

重载

setTags(Set<Pair> tags)

Setter for twin tags.

setTags(TwinCollection tag)

Setter for tags.

setTags(Set<Pair> tags)

Setter for twin tags.

public void setTags(Set<Pair> tags)

参数

tags
Set<Pair>

A set of tag key/value pairs.

例外

IllegalArgumentException

This exception is thrown if the set tags isnull 

</code> . </p>

setTags(TwinCollection tag)

Setter for tags.

protected void setTags(TwinCollection tag)

参数

tag
TwinCollection

A map of validated key/value pairs for tags.

适用于