Interface PredictedItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PredictedItem.Builder,
,PredictedItem> SdkBuilder<PredictedItem.Builder,
,PredictedItem> SdkPojo
- Enclosing class:
PredictedItem
public static interface PredictedItem.Builder
extends SdkPojo, CopyableBuilder<PredictedItem.Builder,PredictedItem>
-
Method Summary
Modifier and TypeMethodDescriptionThe recommended item ID.Metadata about the item from your Items dataset.promotionName
(String promotionName) The name of the promotion that included the predicted item.A numeric representation of the model's certainty that the item will be the next user selection.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 Details
-
itemId
The recommended item ID.
- Parameters:
itemId
- The recommended item ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
score
A numeric representation of the model's certainty that the item will be the next user selection. For more information on scoring logic, see how-scores-work.
- Parameters:
score
- A numeric representation of the model's certainty that the item will be the next user selection. For more information on scoring logic, see how-scores-work.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
promotionName
The name of the promotion that included the predicted item.
- Parameters:
promotionName
- The name of the promotion that included the predicted item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Metadata about the item from your Items dataset.
- Parameters:
metadata
- Metadata about the item from your Items dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-