@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPersonalizedRankingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPersonalizedRankingResult() |
Modifier and Type | Method and Description |
---|---|
GetPersonalizedRankingResult |
clone() |
boolean |
equals(Object obj) |
List<PredictedItem> |
getPersonalizedRanking()
A list of items in order of most likely interest to the user.
|
String |
getRecommendationId()
The ID of the recommendation.
|
int |
hashCode() |
void |
setPersonalizedRanking(Collection<PredictedItem> personalizedRanking)
A list of items in order of most likely interest to the user.
|
void |
setRecommendationId(String recommendationId)
The ID of the recommendation.
|
String |
toString()
Returns a string representation of this object.
|
GetPersonalizedRankingResult |
withPersonalizedRanking(Collection<PredictedItem> personalizedRanking)
A list of items in order of most likely interest to the user.
|
GetPersonalizedRankingResult |
withPersonalizedRanking(PredictedItem... personalizedRanking)
A list of items in order of most likely interest to the user.
|
GetPersonalizedRankingResult |
withRecommendationId(String recommendationId)
The ID of the recommendation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PredictedItem> getPersonalizedRanking()
A list of items in order of most likely interest to the user. The maximum is 500.
public void setPersonalizedRanking(Collection<PredictedItem> personalizedRanking)
A list of items in order of most likely interest to the user. The maximum is 500.
personalizedRanking
- A list of items in order of most likely interest to the user. The maximum is 500.public GetPersonalizedRankingResult withPersonalizedRanking(PredictedItem... personalizedRanking)
A list of items in order of most likely interest to the user. The maximum is 500.
NOTE: This method appends the values to the existing list (if any). Use
setPersonalizedRanking(java.util.Collection)
or withPersonalizedRanking(java.util.Collection)
if you want to override the existing values.
personalizedRanking
- A list of items in order of most likely interest to the user. The maximum is 500.public GetPersonalizedRankingResult withPersonalizedRanking(Collection<PredictedItem> personalizedRanking)
A list of items in order of most likely interest to the user. The maximum is 500.
personalizedRanking
- A list of items in order of most likely interest to the user. The maximum is 500.public void setRecommendationId(String recommendationId)
The ID of the recommendation.
recommendationId
- The ID of the recommendation.public String getRecommendationId()
The ID of the recommendation.
public GetPersonalizedRankingResult withRecommendationId(String recommendationId)
The ID of the recommendation.
recommendationId
- The ID of the recommendation.public String toString()
toString
in class Object
Object.toString()
public GetPersonalizedRankingResult clone()