| Package | Description |
|---|---|
| com.amazonaws.services.personalizeruntime.model |
| Modifier and Type | Method and Description |
|---|---|
PredictedItem |
PredictedItem.addMetadataEntry(String key,
String value)
Add a single Metadata entry
|
PredictedItem |
PredictedItem.clearMetadataEntries()
Removes all the entries added into Metadata.
|
PredictedItem |
PredictedItem.clone() |
PredictedItem |
PredictedItem.withItemId(String itemId)
The recommended item ID.
|
PredictedItem |
PredictedItem.withMetadata(Map<String,String> metadata)
Metadata about the item from your Items dataset.
|
PredictedItem |
PredictedItem.withPromotionName(String promotionName)
The name of the promotion that included the predicted item.
|
PredictedItem |
PredictedItem.withReason(Collection<String> reason)
If you use User-Personalization-v2, a list of reasons for why the item was included in recommendations.
|
PredictedItem |
PredictedItem.withReason(String... reason)
If you use User-Personalization-v2, a list of reasons for why the item was included in recommendations.
|
PredictedItem |
PredictedItem.withScore(Double score)
A numeric representation of the model's certainty that the item will be the next user selection.
|
| Modifier and Type | Method and Description |
|---|---|
List<PredictedItem> |
GetRecommendationsResult.getItemList()
A list of recommendations sorted in descending order by prediction score.
|
List<PredictedItem> |
GetPersonalizedRankingResult.getPersonalizedRanking()
A list of items in order of most likely interest to the user.
|
| Modifier and Type | Method and Description |
|---|---|
GetRecommendationsResult |
GetRecommendationsResult.withItemList(PredictedItem... itemList)
A list of recommendations sorted in descending order by prediction score.
|
GetPersonalizedRankingResult |
GetPersonalizedRankingResult.withPersonalizedRanking(PredictedItem... personalizedRanking)
A list of items in order of most likely interest to the user.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GetRecommendationsResult.setItemList(Collection<PredictedItem> itemList)
A list of recommendations sorted in descending order by prediction score.
|
void |
GetPersonalizedRankingResult.setPersonalizedRanking(Collection<PredictedItem> personalizedRanking)
A list of items in order of most likely interest to the user.
|
GetRecommendationsResult |
GetRecommendationsResult.withItemList(Collection<PredictedItem> itemList)
A list of recommendations sorted in descending order by prediction score.
|
GetPersonalizedRankingResult |
GetPersonalizedRankingResult.withPersonalizedRanking(Collection<PredictedItem> personalizedRanking)
A list of items in order of most likely interest to the user.
|
Copyright © 2025. All rights reserved.