Skip to content

/AWS1/CL_CUSRECDIVERSITYCONFIG

Runtime diversity configuration for a GetProfileRecommendations request.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_enabled TYPE /AWS1/CUSOPTIONALBOOLEAN /AWS1/CUSOPTIONALBOOLEAN

Whether diversity-aware recommendations are enabled for this request.

Optional arguments:

it_values TYPE /AWS1/CL_CUSDIVERSITYVALSMAP_W=>TT_DIVERSITYVALUESMAP TT_DIVERSITYVALUESMAP

An optional map of placeholder name to integer cap value used to resolve $name placeholders defined in the recommender's DiversityConfig at inference time. Up to 2 entries are supported.


Queryable Attributes

Enabled

Whether diversity-aware recommendations are enabled for this request.

Accessible with the following methods

Method Description
GET_ENABLED() Getter for ENABLED, with configurable default
ASK_ENABLED() Getter for ENABLED w/ exceptions if field has no value
HAS_ENABLED() Determine if ENABLED has a value

Values

An optional map of placeholder name to integer cap value used to resolve $name placeholders defined in the recommender's DiversityConfig at inference time. Up to 2 entries are supported.

Accessible with the following methods

Method Description
GET_VALUES() Getter for VALUES, with configurable default
ASK_VALUES() Getter for VALUES w/ exceptions if field has no value
HAS_VALUES() Determine if VALUES has a value