Interface Item.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Item.Builder,Item>,SdkBuilder<Item.Builder,Item>,SdkPojo
- Enclosing class:
- Item
public static interface Item.Builder extends SdkPojo, CopyableBuilder<Item.Builder,Item>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Item.BuilderitemId(String itemId)The ID associated with the item.Item.Builderproperties(String properties)A string map of item-specific metadata.-
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
-
itemId
Item.Builder itemId(String itemId)
The ID associated with the item.
- Parameters:
itemId- The ID associated with the item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
Item.Builder properties(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
numberOfRatingsmatches 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\".- Parameters:
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
numberOfRatingsmatches 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\".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-