Struct aws_sdk_sagemaker::types::builders::ClarifyTextConfigBuilder
source · #[non_exhaustive]pub struct ClarifyTextConfigBuilder { /* private fields */ }
Expand description
A builder for ClarifyTextConfig
.
Implementations§
source§impl ClarifyTextConfigBuilder
impl ClarifyTextConfigBuilder
sourcepub fn language(self, input: ClarifyTextLanguage) -> Self
pub fn language(self, input: ClarifyTextLanguage) -> Self
sourcepub fn set_language(self, input: Option<ClarifyTextLanguage>) -> Self
pub fn set_language(self, input: Option<ClarifyTextLanguage>) -> Self
sourcepub fn get_language(&self) -> &Option<ClarifyTextLanguage>
pub fn get_language(&self) -> &Option<ClarifyTextLanguage>
sourcepub fn granularity(self, input: ClarifyTextGranularity) -> Self
pub fn granularity(self, input: ClarifyTextGranularity) -> Self
The unit of granularity for the analysis of text features. For example, if the unit is 'token'
, then each token (like a word in English) of the text is treated as a feature. SHAP values are computed for each unit/feature.
sourcepub fn set_granularity(self, input: Option<ClarifyTextGranularity>) -> Self
pub fn set_granularity(self, input: Option<ClarifyTextGranularity>) -> Self
The unit of granularity for the analysis of text features. For example, if the unit is 'token'
, then each token (like a word in English) of the text is treated as a feature. SHAP values are computed for each unit/feature.
sourcepub fn get_granularity(&self) -> &Option<ClarifyTextGranularity>
pub fn get_granularity(&self) -> &Option<ClarifyTextGranularity>
The unit of granularity for the analysis of text features. For example, if the unit is 'token'
, then each token (like a word in English) of the text is treated as a feature. SHAP values are computed for each unit/feature.
sourcepub fn build(self) -> ClarifyTextConfig
pub fn build(self) -> ClarifyTextConfig
Consumes the builder and constructs a ClarifyTextConfig
.
Trait Implementations§
source§impl Clone for ClarifyTextConfigBuilder
impl Clone for ClarifyTextConfigBuilder
source§fn clone(&self) -> ClarifyTextConfigBuilder
fn clone(&self) -> ClarifyTextConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClarifyTextConfigBuilder
impl Debug for ClarifyTextConfigBuilder
source§impl Default for ClarifyTextConfigBuilder
impl Default for ClarifyTextConfigBuilder
source§fn default() -> ClarifyTextConfigBuilder
fn default() -> ClarifyTextConfigBuilder
source§impl PartialEq for ClarifyTextConfigBuilder
impl PartialEq for ClarifyTextConfigBuilder
impl StructuralPartialEq for ClarifyTextConfigBuilder
Auto Trait Implementations§
impl Freeze for ClarifyTextConfigBuilder
impl RefUnwindSafe for ClarifyTextConfigBuilder
impl Send for ClarifyTextConfigBuilder
impl Sync for ClarifyTextConfigBuilder
impl Unpin for ClarifyTextConfigBuilder
impl UnwindSafe for ClarifyTextConfigBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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