@Generated(value="software.amazon.awssdk:codegen") public final class Item extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Item.Builder,Item>
Represents item metadata added to an Items dataset using the PutItems API. For more information see Importing Items Incrementally.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Item.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Item.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
itemId()
The ID associated with the item.
|
String |
properties()
A string map of item-specific metadata.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Item.Builder> |
serializableBuilderClass() |
Item.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String itemId()
The ID associated with the item.
public final String properties()
A string map of item-specific metadata. Each element in the map consists of a key-value pair. For example,
{"numberOfRatings": "12"}.
The keys use camel case names that match the fields in the schema for the Items dataset. In the previous example,
the numberOfRatings matches the 'NUMBER_OF_RATINGS' field defined in the Items schema. For
categorical string data, to include multiple categories for a single item, separate each category with a pipe
separator (|). For example, \"Horror|Action\".
{"numberOfRatings": "12"}.
The keys use camel case names that match the fields in the schema for the Items dataset. In the previous
example, the numberOfRatings matches the 'NUMBER_OF_RATINGS' field defined in the Items
schema. For categorical string data, to include multiple categories for a single item, separate each
category with a pipe separator (|). For example, \"Horror|Action\".
public Item.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Item.Builder,Item>public static Item.Builder builder()
public static Class<? extends Item.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.