#[non_exhaustive]pub struct RecommenderConfigBuilder { /* private fields */ }Expand description
A builder for RecommenderConfig.
Implementations§
source§impl RecommenderConfigBuilder
impl RecommenderConfigBuilder
sourcepub fn item_exploration_config(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn item_exploration_config( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to item_exploration_config.
To override the contents of this collection use set_item_exploration_config.
Specifies the exploration configuration hyperparameters, including explorationWeight and explorationItemAgeCutOff, you want to use to configure the amount of item exploration Amazon Personalize uses when recommending items. Provide itemExplorationConfig data only if your recommenders generate personalized recommendations for a user (not popular items or similar items).
sourcepub fn set_item_exploration_config(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_item_exploration_config( self, input: Option<HashMap<String, String>> ) -> Self
Specifies the exploration configuration hyperparameters, including explorationWeight and explorationItemAgeCutOff, you want to use to configure the amount of item exploration Amazon Personalize uses when recommending items. Provide itemExplorationConfig data only if your recommenders generate personalized recommendations for a user (not popular items or similar items).
sourcepub fn min_recommendation_requests_per_second(self, input: i32) -> Self
pub fn min_recommendation_requests_per_second(self, input: i32) -> Self
Specifies the requested minimum provisioned recommendation requests per second that Amazon Personalize will support.
sourcepub fn set_min_recommendation_requests_per_second(
self,
input: Option<i32>
) -> Self
pub fn set_min_recommendation_requests_per_second( self, input: Option<i32> ) -> Self
Specifies the requested minimum provisioned recommendation requests per second that Amazon Personalize will support.
sourcepub fn build(self) -> RecommenderConfig
pub fn build(self) -> RecommenderConfig
Consumes the builder and constructs a RecommenderConfig.
Trait Implementations§
source§impl Clone for RecommenderConfigBuilder
impl Clone for RecommenderConfigBuilder
source§fn clone(&self) -> RecommenderConfigBuilder
fn clone(&self) -> RecommenderConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RecommenderConfigBuilder
impl Debug for RecommenderConfigBuilder
source§impl Default for RecommenderConfigBuilder
impl Default for RecommenderConfigBuilder
source§fn default() -> RecommenderConfigBuilder
fn default() -> RecommenderConfigBuilder
source§impl PartialEq<RecommenderConfigBuilder> for RecommenderConfigBuilder
impl PartialEq<RecommenderConfigBuilder> for RecommenderConfigBuilder
source§fn eq(&self, other: &RecommenderConfigBuilder) -> bool
fn eq(&self, other: &RecommenderConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.