Interface DiversityColumn.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DiversityColumn.Builder,,DiversityColumn> SdkBuilder<DiversityColumn.Builder,,DiversityColumn> SdkPojo
- Enclosing class:
DiversityColumn
@Mutable
@NotThreadSafe
public static interface DiversityColumn.Builder
extends SdkPojo, CopyableBuilder<DiversityColumn.Builder,DiversityColumn>
-
Method Summary
Modifier and TypeMethodDescriptionThe type of diversity cap to apply.capType(DiversityCapType capType) The type of diversity cap to apply.The name of the item catalog column on which to apply the diversity cap.The diversity cap target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the item catalog column on which to apply the diversity cap. The column must be defined in the recommender schema.
- Parameters:
name- The name of the item catalog column on which to apply the diversity cap. The column must be defined in the recommender schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capType
The type of diversity cap to apply. Valid values are
PERCENTAGE(interpretTargetas a percentage of returned items) andVALUE(interpretTargetas an absolute count).- Parameters:
capType- The type of diversity cap to apply. Valid values arePERCENTAGE(interpretTargetas a percentage of returned items) andVALUE(interpretTargetas an absolute count).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capType
The type of diversity cap to apply. Valid values are
PERCENTAGE(interpretTargetas a percentage of returned items) andVALUE(interpretTargetas an absolute count).- Parameters:
capType- The type of diversity cap to apply. Valid values arePERCENTAGE(interpretTargetas a percentage of returned items) andVALUE(interpretTargetas an absolute count).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
The diversity cap target. Either an integer literal (for example,
"25") or a placeholder expression of the form$namewhose value is supplied at inference time throughGetProfileRecommendations.- Parameters:
target- The diversity cap target. Either an integer literal (for example,"25") or a placeholder expression of the form$namewhose value is supplied at inference time throughGetProfileRecommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-