#[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 ==.impl StructuralPartialEq for BatchInferenceJobConfigBuilder
Auto Trait Implementations§
impl Freeze for BatchInferenceJobConfigBuilder
impl RefUnwindSafe for BatchInferenceJobConfigBuilder
impl Send for BatchInferenceJobConfigBuilder
impl Sync for BatchInferenceJobConfigBuilder
impl Unpin for BatchInferenceJobConfigBuilder
impl UnwindSafe for BatchInferenceJobConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more