public static interface Promotion.Builder extends SdkPojo, CopyableBuilder<Promotion.Builder,Promotion>
| Modifier and Type | Method and Description |
|---|---|
Promotion.Builder |
filterArn(String filterArn)
The Amazon Resource Name (ARN) of the filter used by the promotion.
|
Promotion.Builder |
filterValues(Map<String,String> filterValues)
The values to use when promoting items.
|
Promotion.Builder |
name(String name)
The name of the promotion.
|
Promotion.Builder |
percentPromotedItems(Integer percentPromotedItems)
The percentage of recommended items to apply the promotion to.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPromotion.Builder name(String name)
The name of the promotion.
name - The name of the promotion.Promotion.Builder percentPromotedItems(Integer percentPromotedItems)
The percentage of recommended items to apply the promotion to.
percentPromotedItems - The percentage of recommended items to apply the promotion to.Promotion.Builder filterArn(String filterArn)
The Amazon Resource Name (ARN) of the filter used by the promotion. This filter defines the criteria for promoted items. For more information, see Promotion filters.
filterArn - The Amazon Resource Name (ARN) of the filter used by the promotion. This filter defines the criteria
for promoted items. For more information, see Promotion filters.Promotion.Builder filterValues(Map<String,String> filterValues)
The values to use when promoting items. For each placeholder parameter in your promotion's filter expression, provide the parameter name (in matching case) as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma.
For filter expressions that use an INCLUDE element to include items, you must provide values for
all parameters that are defined in the expression. For filters with expressions that use an
EXCLUDE element to exclude items, you can omit the filter-values. In this case,
Amazon Personalize doesn't use that portion of the expression to filter recommendations.
For more information on creating filters, see Filtering recommendations and user segments.
filterValues - The values to use when promoting items. For each placeholder parameter in your promotion's filter
expression, provide the parameter name (in matching case) as a key and the filter value(s) as the
corresponding value. Separate multiple values for one parameter with a comma.
For filter expressions that use an INCLUDE element to include items, you must provide
values for all parameters that are defined in the expression. For filters with expressions that use an
EXCLUDE element to exclude items, you can omit the filter-values. In this
case, Amazon Personalize doesn't use that portion of the expression to filter recommendations.
For more information on creating filters, see Filtering recommendations and user segments.
Copyright © 2022. All rights reserved.