public static interface GetRecommendationsRequest.Builder extends PersonalizeRuntimeRequest.Builder, SdkPojo, CopyableBuilder<GetRecommendationsRequest.Builder,GetRecommendationsRequest>
| Modifier and Type | Method and Description |
|---|---|
GetRecommendationsRequest.Builder |
campaignArn(String campaignArn)
The Amazon Resource Name (ARN) of the campaign to use for getting recommendations.
|
GetRecommendationsRequest.Builder |
itemId(String itemId)
The item ID to provide recommendations for.
|
GetRecommendationsRequest.Builder |
numResults(Integer numResults)
The number of results to return.
|
GetRecommendationsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetRecommendationsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GetRecommendationsRequest.Builder |
userId(String userId)
The user ID to provide recommendations for.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetRecommendationsRequest.Builder campaignArn(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.GetRecommendationsRequest.Builder itemId(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.
GetRecommendationsRequest.Builder userId(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.
GetRecommendationsRequest.Builder numResults(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.GetRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.