@Generated(value="software.amazon.awssdk:codegen") public final class GetPersonalizedRankingResponse extends PersonalizeRuntimeResponse implements ToCopyableBuilder<GetPersonalizedRankingResponse.Builder,GetPersonalizedRankingResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetPersonalizedRankingResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetPersonalizedRankingResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPersonalizedRanking()
Returns true if the PersonalizedRanking property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<PredictedItem> |
personalizedRanking()
A list of items in order of most likely interest to the user.
|
String |
recommendationId()
The ID of the recommendation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetPersonalizedRankingResponse.Builder> |
serializableBuilderClass() |
GetPersonalizedRankingResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasPersonalizedRanking()
public List<PredictedItem> personalizedRanking()
A list of items in order of most likely interest to the user. The maximum is 500.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPersonalizedRanking() to see if a value was sent in this field.
public String recommendationId()
The ID of the recommendation.
public GetPersonalizedRankingResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetPersonalizedRankingResponse.Builder,GetPersonalizedRankingResponse>toBuilder in class AwsResponsepublic static GetPersonalizedRankingResponse.Builder builder()
public static Class<? extends GetPersonalizedRankingResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.