#[non_exhaustive]pub struct TextClassificationJobConfigBuilder { /* private fields */ }
Expand description
A builder for TextClassificationJobConfig
.
Implementations§
source§impl TextClassificationJobConfigBuilder
impl TextClassificationJobConfigBuilder
sourcepub fn completion_criteria(self, input: AutoMlJobCompletionCriteria) -> Self
pub fn completion_criteria(self, input: AutoMlJobCompletionCriteria) -> Self
How long a job is allowed to run, or how many candidates a job is allowed to generate.
sourcepub fn set_completion_criteria(
self,
input: Option<AutoMlJobCompletionCriteria>,
) -> Self
pub fn set_completion_criteria( self, input: Option<AutoMlJobCompletionCriteria>, ) -> Self
How long a job is allowed to run, or how many candidates a job is allowed to generate.
sourcepub fn get_completion_criteria(&self) -> &Option<AutoMlJobCompletionCriteria>
pub fn get_completion_criteria(&self) -> &Option<AutoMlJobCompletionCriteria>
How long a job is allowed to run, or how many candidates a job is allowed to generate.
sourcepub fn content_column(self, input: impl Into<String>) -> Self
pub fn content_column(self, input: impl Into<String>) -> Self
The name of the column used to provide the sentences to be classified. It should not be the same as the target column.
This field is required.sourcepub fn set_content_column(self, input: Option<String>) -> Self
pub fn set_content_column(self, input: Option<String>) -> Self
The name of the column used to provide the sentences to be classified. It should not be the same as the target column.
sourcepub fn get_content_column(&self) -> &Option<String>
pub fn get_content_column(&self) -> &Option<String>
The name of the column used to provide the sentences to be classified. It should not be the same as the target column.
sourcepub fn target_label_column(self, input: impl Into<String>) -> Self
pub fn target_label_column(self, input: impl Into<String>) -> Self
The name of the column used to provide the class labels. It should not be same as the content column.
This field is required.sourcepub fn set_target_label_column(self, input: Option<String>) -> Self
pub fn set_target_label_column(self, input: Option<String>) -> Self
The name of the column used to provide the class labels. It should not be same as the content column.
sourcepub fn get_target_label_column(&self) -> &Option<String>
pub fn get_target_label_column(&self) -> &Option<String>
The name of the column used to provide the class labels. It should not be same as the content column.
sourcepub fn build(self) -> TextClassificationJobConfig
pub fn build(self) -> TextClassificationJobConfig
Consumes the builder and constructs a TextClassificationJobConfig
.
Trait Implementations§
source§impl Clone for TextClassificationJobConfigBuilder
impl Clone for TextClassificationJobConfigBuilder
source§fn clone(&self) -> TextClassificationJobConfigBuilder
fn clone(&self) -> TextClassificationJobConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TextClassificationJobConfigBuilder
impl Default for TextClassificationJobConfigBuilder
source§fn default() -> TextClassificationJobConfigBuilder
fn default() -> TextClassificationJobConfigBuilder
source§impl PartialEq for TextClassificationJobConfigBuilder
impl PartialEq for TextClassificationJobConfigBuilder
source§fn eq(&self, other: &TextClassificationJobConfigBuilder) -> bool
fn eq(&self, other: &TextClassificationJobConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TextClassificationJobConfigBuilder
Auto Trait Implementations§
impl Freeze for TextClassificationJobConfigBuilder
impl RefUnwindSafe for TextClassificationJobConfigBuilder
impl Send for TextClassificationJobConfigBuilder
impl Sync for TextClassificationJobConfigBuilder
impl Unpin for TextClassificationJobConfigBuilder
impl UnwindSafe for TextClassificationJobConfigBuilder
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