#[non_exhaustive]pub struct BatchInferenceJobConfigBuilder { /* private fields */ }Expand description
A builder for BatchInferenceJobConfig.
Implementations§
source§impl BatchInferenceJobConfigBuilder
impl BatchInferenceJobConfigBuilder
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.
A string to string map specifying 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. See User-Personalization.
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
A string to string map specifying 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. See User-Personalization.
sourcepub fn get_item_exploration_config(&self) -> &Option<HashMap<String, String>>
pub fn get_item_exploration_config(&self) -> &Option<HashMap<String, String>>
A string to string map specifying 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. See User-Personalization.
sourcepub fn build(self) -> BatchInferenceJobConfig
pub fn build(self) -> BatchInferenceJobConfig
Consumes the builder and constructs a BatchInferenceJobConfig.
Trait Implementations§
source§impl Clone for BatchInferenceJobConfigBuilder
impl Clone for BatchInferenceJobConfigBuilder
source§fn clone(&self) -> BatchInferenceJobConfigBuilder
fn clone(&self) -> BatchInferenceJobConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchInferenceJobConfigBuilder
impl Default for BatchInferenceJobConfigBuilder
source§fn default() -> BatchInferenceJobConfigBuilder
fn default() -> BatchInferenceJobConfigBuilder
source§impl PartialEq for BatchInferenceJobConfigBuilder
impl PartialEq for BatchInferenceJobConfigBuilder
source§fn eq(&self, other: &BatchInferenceJobConfigBuilder) -> bool
fn eq(&self, other: &BatchInferenceJobConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.