Interface AttributePayload.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AttributePayload.Builder,AttributePayload>
,SdkBuilder<AttributePayload.Builder,AttributePayload>
,SdkPojo
- Enclosing class:
- AttributePayload
public static interface AttributePayload.Builder extends SdkPojo, CopyableBuilder<AttributePayload.Builder,AttributePayload>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 theAttributePayload
is merged with the attributes stored in the registry, instead of overwriting them.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
attributes
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\"}}
- Parameters:
attributes
- A JSON string containing up to three key-value pair in JSON format. For example:{\"attributes\":{\"string1\":\"string2\"}}
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
merge
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 callingUpdateThing
orUpdateThingGroup
.- Parameters:
merge
- Specifies whether the list of attributes provided in theAttributePayload
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 callingUpdateThing
orUpdateThingGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-