@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPersonalizedRankingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetPersonalizedRankingRequest() |
Modifier and Type | Method and Description |
---|---|
GetPersonalizedRankingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCampaignArn()
The Amazon Resource Name (ARN) of the campaign to use for generating the personalized ranking.
|
List<String> |
getInputList()
A list of items (itemId's) to rank.
|
String |
getUserId()
The user for which you want the campaign to provide a personalized ranking.
|
int |
hashCode() |
void |
setCampaignArn(String campaignArn)
The Amazon Resource Name (ARN) of the campaign to use for generating the personalized ranking.
|
void |
setInputList(Collection<String> inputList)
A list of items (itemId's) to rank.
|
void |
setUserId(String userId)
The user for which you want the campaign to provide a personalized ranking.
|
String |
toString()
Returns a string representation of this object.
|
GetPersonalizedRankingRequest |
withCampaignArn(String campaignArn)
The Amazon Resource Name (ARN) of the campaign to use for generating the personalized ranking.
|
GetPersonalizedRankingRequest |
withInputList(Collection<String> inputList)
A list of items (itemId's) to rank.
|
GetPersonalizedRankingRequest |
withInputList(String... inputList)
A list of items (itemId's) to rank.
|
GetPersonalizedRankingRequest |
withUserId(String userId)
The user for which you want the campaign to provide a personalized ranking.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCampaignArn(String campaignArn)
The Amazon Resource Name (ARN) of the campaign to use for generating the personalized ranking.
campaignArn
- The Amazon Resource Name (ARN) of the campaign to use for generating the personalized ranking.public String getCampaignArn()
The Amazon Resource Name (ARN) of the campaign to use for generating the personalized ranking.
public GetPersonalizedRankingRequest withCampaignArn(String campaignArn)
The Amazon Resource Name (ARN) of the campaign to use for generating the personalized ranking.
campaignArn
- The Amazon Resource Name (ARN) of the campaign to use for generating the personalized ranking.public List<String> getInputList()
A list of items (itemId's) to rank. If an item was not included in the training dataset, the item is appended to the end of the reranked list.
public void setInputList(Collection<String> inputList)
A list of items (itemId's) to rank. If an item was not included in the training dataset, the item is appended to the end of the reranked list.
inputList
- A list of items (itemId's) to rank. If an item was not included in the training dataset, the item is
appended to the end of the reranked list.public GetPersonalizedRankingRequest withInputList(String... inputList)
A list of items (itemId's) to rank. If an item was not included in the training dataset, the item is appended to the end of the reranked list.
NOTE: This method appends the values to the existing list (if any). Use
setInputList(java.util.Collection)
or withInputList(java.util.Collection)
if you want to
override the existing values.
inputList
- A list of items (itemId's) to rank. If an item was not included in the training dataset, the item is
appended to the end of the reranked list.public GetPersonalizedRankingRequest withInputList(Collection<String> inputList)
A list of items (itemId's) to rank. If an item was not included in the training dataset, the item is appended to the end of the reranked list.
inputList
- A list of items (itemId's) to rank. If an item was not included in the training dataset, the item is
appended to the end of the reranked list.public void setUserId(String userId)
The user for which you want the campaign to provide a personalized ranking.
userId
- The user for which you want the campaign to provide a personalized ranking.public String getUserId()
The user for which you want the campaign to provide a personalized ranking.
public GetPersonalizedRankingRequest withUserId(String userId)
The user for which you want the campaign to provide a personalized ranking.
userId
- The user for which you want the campaign to provide a personalized ranking.public String toString()
toString
in class Object
Object.toString()
public GetPersonalizedRankingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.