StructuredPojo
, ToCopyableBuilder<AttributeKeyAndValue.Builder,AttributeKeyAndValue>
@Generated("software.amazon.awssdk:codegen") public class AttributeKeyAndValue extends Object implements StructuredPojo, ToCopyableBuilder<AttributeKeyAndValue.Builder,AttributeKeyAndValue>
The combination of an attribute key and an attribute value.
Modifier and Type | Class | Description |
---|---|---|
static interface |
AttributeKeyAndValue.Builder |
Modifier and Type | Method | Description |
---|---|---|
static AttributeKeyAndValue.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
AttributeKey |
key() |
The key of the attribute.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends AttributeKeyAndValue.Builder> |
serializableBuilderClass() |
|
AttributeKeyAndValue.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
TypedAttributeValue |
value() |
The value of the attribute.
|
public AttributeKey key()
The key of the attribute.
public TypedAttributeValue value()
The value of the attribute.
public AttributeKeyAndValue.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AttributeKeyAndValue.Builder,AttributeKeyAndValue>
public static AttributeKeyAndValue.Builder builder()
public static Class<? extends AttributeKeyAndValue.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.