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
Modifier and TypeMethodDescriptionattributes(Map<String, String> attributes) A JSON string containing up to three key-value pair in JSON format.Specifies whether the list of attributes provided in theAttributePayloadis merged with the attributes stored in the registry, instead of overwriting them.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
Specifies whether the list of attributes provided in the
AttributePayloadis merged with the attributes stored in the registry, instead of overwriting them.To remove an attribute, call
UpdateThingwith an empty attribute value.The
mergeattribute is only valid when callingUpdateThingorUpdateThingGroup.- Parameters:
merge- Specifies whether the list of attributes provided in theAttributePayloadis merged with the attributes stored in the registry, instead of overwriting them.To remove an attribute, call
UpdateThingwith an empty attribute value.The
mergeattribute is only valid when callingUpdateThingorUpdateThingGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-