次の方法で共有


Client.DefinitionStages.WithAttributes Interface

public static interface Client.DefinitionStages.WithAttributes

The stage of the Client definition allowing to specify attributes.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withAttributes(Map<String,Object> attributes)

Specifies the attributes property: Attributes for the client.

Method Details

withAttributes

public abstract Client.DefinitionStages.WithCreate withAttributes(Map<String,Object> attributes)

Specifies the attributes property: Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }.

Parameters:

attributes - Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }.

Returns:

the next definition stage.

Applies to