@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PredictedItem extends Object implements Serializable, Cloneable, StructuredPojo
An object that identifies an item.
The and APIs return a list of PredictedItems.
| Constructor and Description |
|---|
PredictedItem() |
| Modifier and Type | Method and Description |
|---|---|
PredictedItem |
clone() |
boolean |
equals(Object obj) |
String |
getItemId()
The recommended item ID.
|
String |
getPromotionName()
The name of the promotion that included the predicted item.
|
Double |
getScore()
A numeric representation of the model's certainty that the item will be the next user selection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setItemId(String itemId)
The recommended item ID.
|
void |
setPromotionName(String promotionName)
The name of the promotion that included the predicted item.
|
void |
setScore(Double score)
A numeric representation of the model's certainty that the item will be the next user selection.
|
String |
toString()
Returns a string representation of this object.
|
PredictedItem |
withItemId(String itemId)
The recommended item ID.
|
PredictedItem |
withPromotionName(String promotionName)
The name of the promotion that included the predicted item.
|
PredictedItem |
withScore(Double score)
A numeric representation of the model's certainty that the item will be the next user selection.
|
public void setItemId(String itemId)
The recommended item ID.
itemId - The recommended item ID.public String getItemId()
The recommended item ID.
public PredictedItem withItemId(String itemId)
The recommended item ID.
itemId - The recommended item ID.public void setScore(Double 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.
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.public Double getScore()
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.
public PredictedItem withScore(Double 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.
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.public void setPromotionName(String promotionName)
The name of the promotion that included the predicted item.
promotionName - The name of the promotion that included the predicted item.public String getPromotionName()
The name of the promotion that included the predicted item.
public PredictedItem withPromotionName(String promotionName)
The name of the promotion that included the predicted item.
promotionName - The name of the promotion that included the predicted item.public String toString()
toString in class ObjectObject.toString()public PredictedItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.