#[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.
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.
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<TextClassificationJobConfigBuilder> for TextClassificationJobConfigBuilder
impl PartialEq<TextClassificationJobConfigBuilder> 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 ==
.