Interface ContentAttributes.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ContentAttributes.Builder,,ContentAttributes> SdkBuilder<ContentAttributes.Builder,,ContentAttributes> SdkPojo
- Enclosing class:
ContentAttributes
@Mutable
@NotThreadSafe
public static interface ContentAttributes.Builder
extends SdkPojo, CopyableBuilder<ContentAttributes.Builder,ContentAttributes>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ContentAttributes.BuilderrecommenderConfig(Consumer<RecommenderConfig.Builder> recommenderConfig) Configuration for the recommender used to generate personalized recommendations for the notification content.recommenderConfig(RecommenderConfig recommenderConfig) Configuration for the recommender used to generate personalized recommendations for the notification content.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
-
recommenderConfig
Configuration for the recommender used to generate personalized recommendations for the notification content.
- Parameters:
recommenderConfig- Configuration for the recommender used to generate personalized recommendations for the notification content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommenderConfig
default ContentAttributes.Builder recommenderConfig(Consumer<RecommenderConfig.Builder> recommenderConfig) Configuration for the recommender used to generate personalized recommendations for the notification content.
This is a convenience method that creates an instance of theRecommenderConfig.Builderavoiding the need to create one manually viaRecommenderConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommenderConfig(RecommenderConfig).- Parameters:
recommenderConfig- a consumer that will call methods onRecommenderConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-