public static interface AttributePayload.Builder extends CopyableBuilder<AttributePayload.Builder,AttributePayload>
Modifier and Type | Method and Description |
---|---|
AttributePayload.Builder |
attributes(Map<String,String> attributes)
A JSON string containing up to three key-value pair in JSON format.
|
AttributePayload.Builder |
merge(Boolean merge)
Specifies whether the list of attributes provided in the
AttributePayload is merged with the
attributes stored in the registry, instead of overwriting them. |
copy
applyMutation, build
AttributePayload.Builder attributes(Map<String,String> attributes)
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
attributes
- A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
AttributePayload.Builder merge(Boolean merge)
Specifies whether the list of attributes provided in the AttributePayload
is merged with the
attributes stored in the registry, instead of overwriting them.
To remove an attribute, call UpdateThing
with an empty attribute value.
The merge
attribute is only valid when calling UpdateThing
.
merge
- Specifies whether the list of attributes provided in the AttributePayload
is merged with
the attributes stored in the registry, instead of overwriting them.
To remove an attribute, call UpdateThing
with an empty attribute value.
The merge
attribute is only valid when calling UpdateThing
.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.