StructuredPojo
, ToCopyableBuilder<AttributePayload.Builder,AttributePayload>
@Generated("software.amazon.awssdk:codegen") public class AttributePayload extends Object implements StructuredPojo, ToCopyableBuilder<AttributePayload.Builder,AttributePayload>
The attribute payload.
Modifier and Type | Class | Description |
---|---|---|
static interface |
AttributePayload.Builder |
Modifier and Type | Method | Description |
---|---|---|
Map<String,String> |
attributes() |
A JSON string containing up to three key-value pair in JSON format.
|
static AttributePayload.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
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. |
static Class<? extends AttributePayload.Builder> |
serializableBuilderClass() |
|
AttributePayload.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Map<String,String> attributes()
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
{\"attributes\":{\"string1\":\"string2\"}}
public 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
.
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
.
public AttributePayload.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AttributePayload.Builder,AttributePayload>
public static AttributePayload.Builder builder()
public static Class<? extends AttributePayload.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.