@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRecommendationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetRecommendationsRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetRecommendationsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCampaignArn()
The Amazon Resource Name (ARN) of the campaign to use for getting recommendations.
|
String |
getItemId()
The item ID to provide recommendations for.
|
Integer |
getNumResults()
The number of results to return.
|
String |
getUserId()
The user ID to provide recommendations for.
|
int |
hashCode() |
void |
setCampaignArn(String campaignArn)
The Amazon Resource Name (ARN) of the campaign to use for getting recommendations.
|
void |
setItemId(String itemId)
The item ID to provide recommendations for.
|
void |
setNumResults(Integer numResults)
The number of results to return.
|
void |
setUserId(String userId)
The user ID to provide recommendations for.
|
String |
toString()
Returns a string representation of this object.
|
GetRecommendationsRequest |
withCampaignArn(String campaignArn)
The Amazon Resource Name (ARN) of the campaign to use for getting recommendations.
|
GetRecommendationsRequest |
withItemId(String itemId)
The item ID to provide recommendations for.
|
GetRecommendationsRequest |
withNumResults(Integer numResults)
The number of results to return.
|
GetRecommendationsRequest |
withUserId(String userId)
The user ID to provide recommendations for.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setCampaignArn(String campaignArn)
The Amazon Resource Name (ARN) of the campaign to use for getting recommendations.
campaignArn - The Amazon Resource Name (ARN) of the campaign to use for getting recommendations.public String getCampaignArn()
The Amazon Resource Name (ARN) of the campaign to use for getting recommendations.
public GetRecommendationsRequest withCampaignArn(String campaignArn)
The Amazon Resource Name (ARN) of the campaign to use for getting recommendations.
campaignArn - The Amazon Resource Name (ARN) of the campaign to use for getting recommendations.public void setItemId(String itemId)
The item ID to provide recommendations for.
Required for RELATED_ITEMS recipe type.
itemId - The item ID to provide recommendations for.
Required for RELATED_ITEMS recipe type.
public String getItemId()
The item ID to provide recommendations for.
Required for RELATED_ITEMS recipe type.
Required for RELATED_ITEMS recipe type.
public GetRecommendationsRequest withItemId(String itemId)
The item ID to provide recommendations for.
Required for RELATED_ITEMS recipe type.
itemId - The item ID to provide recommendations for.
Required for RELATED_ITEMS recipe type.
public void setUserId(String userId)
The user ID to provide recommendations for.
Required for USER_PERSONALIZATION recipe type.
userId - The user ID to provide recommendations for.
Required for USER_PERSONALIZATION recipe type.
public String getUserId()
The user ID to provide recommendations for.
Required for USER_PERSONALIZATION recipe type.
Required for USER_PERSONALIZATION recipe type.
public GetRecommendationsRequest withUserId(String userId)
The user ID to provide recommendations for.
Required for USER_PERSONALIZATION recipe type.
userId - The user ID to provide recommendations for.
Required for USER_PERSONALIZATION recipe type.
public void setNumResults(Integer numResults)
The number of results to return. The default is 25. The maximum is 100.
numResults - The number of results to return. The default is 25. The maximum is 100.public Integer getNumResults()
The number of results to return. The default is 25. The maximum is 100.
public GetRecommendationsRequest withNumResults(Integer numResults)
The number of results to return. The default is 25. The maximum is 100.
numResults - The number of results to return. The default is 25. The maximum is 100.public String toString()
toString in class ObjectObject.toString()public GetRecommendationsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.