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
With |
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:
Returns: