#[non_exhaustive]pub struct DatasetInputDataConfigBuilder { /* private fields */ }
Expand description
A builder for DatasetInputDataConfig
.
Implementations§
source§impl DatasetInputDataConfigBuilder
impl DatasetInputDataConfigBuilder
sourcepub fn augmented_manifests(
self,
input: DatasetAugmentedManifestsListItem
) -> Self
pub fn augmented_manifests( self, input: DatasetAugmentedManifestsListItem ) -> Self
Appends an item to augmented_manifests
.
To override the contents of this collection use set_augmented_manifests
.
A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
sourcepub fn set_augmented_manifests(
self,
input: Option<Vec<DatasetAugmentedManifestsListItem>>
) -> Self
pub fn set_augmented_manifests( self, input: Option<Vec<DatasetAugmentedManifestsListItem>> ) -> Self
A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
sourcepub fn get_augmented_manifests(
&self
) -> &Option<Vec<DatasetAugmentedManifestsListItem>>
pub fn get_augmented_manifests( &self ) -> &Option<Vec<DatasetAugmentedManifestsListItem>>
A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
sourcepub fn data_format(self, input: DatasetDataFormat) -> Self
pub fn data_format(self, input: DatasetDataFormat) -> Self
COMPREHEND_CSV
: The data format is a two-column CSV file, where the first column contains labels and the second column contains documents.
AUGMENTED_MANIFEST
: The data format
sourcepub fn set_data_format(self, input: Option<DatasetDataFormat>) -> Self
pub fn set_data_format(self, input: Option<DatasetDataFormat>) -> Self
COMPREHEND_CSV
: The data format is a two-column CSV file, where the first column contains labels and the second column contains documents.
AUGMENTED_MANIFEST
: The data format
sourcepub fn get_data_format(&self) -> &Option<DatasetDataFormat>
pub fn get_data_format(&self) -> &Option<DatasetDataFormat>
COMPREHEND_CSV
: The data format is a two-column CSV file, where the first column contains labels and the second column contains documents.
AUGMENTED_MANIFEST
: The data format
sourcepub fn document_classifier_input_data_config(
self,
input: DatasetDocumentClassifierInputDataConfig
) -> Self
pub fn document_classifier_input_data_config( self, input: DatasetDocumentClassifierInputDataConfig ) -> Self
The input properties for training a document classifier model.
For more information on how the input file is formatted, see Preparing training data in the Comprehend Developer Guide.
sourcepub fn set_document_classifier_input_data_config(
self,
input: Option<DatasetDocumentClassifierInputDataConfig>
) -> Self
pub fn set_document_classifier_input_data_config( self, input: Option<DatasetDocumentClassifierInputDataConfig> ) -> Self
The input properties for training a document classifier model.
For more information on how the input file is formatted, see Preparing training data in the Comprehend Developer Guide.
sourcepub fn get_document_classifier_input_data_config(
&self
) -> &Option<DatasetDocumentClassifierInputDataConfig>
pub fn get_document_classifier_input_data_config( &self ) -> &Option<DatasetDocumentClassifierInputDataConfig>
The input properties for training a document classifier model.
For more information on how the input file is formatted, see Preparing training data in the Comprehend Developer Guide.
sourcepub fn entity_recognizer_input_data_config(
self,
input: DatasetEntityRecognizerInputDataConfig
) -> Self
pub fn entity_recognizer_input_data_config( self, input: DatasetEntityRecognizerInputDataConfig ) -> Self
The input properties for training an entity recognizer model.
sourcepub fn set_entity_recognizer_input_data_config(
self,
input: Option<DatasetEntityRecognizerInputDataConfig>
) -> Self
pub fn set_entity_recognizer_input_data_config( self, input: Option<DatasetEntityRecognizerInputDataConfig> ) -> Self
The input properties for training an entity recognizer model.
sourcepub fn get_entity_recognizer_input_data_config(
&self
) -> &Option<DatasetEntityRecognizerInputDataConfig>
pub fn get_entity_recognizer_input_data_config( &self ) -> &Option<DatasetEntityRecognizerInputDataConfig>
The input properties for training an entity recognizer model.
sourcepub fn build(self) -> DatasetInputDataConfig
pub fn build(self) -> DatasetInputDataConfig
Consumes the builder and constructs a DatasetInputDataConfig
.
Trait Implementations§
source§impl Clone for DatasetInputDataConfigBuilder
impl Clone for DatasetInputDataConfigBuilder
source§fn clone(&self) -> DatasetInputDataConfigBuilder
fn clone(&self) -> DatasetInputDataConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DatasetInputDataConfigBuilder
impl Default for DatasetInputDataConfigBuilder
source§fn default() -> DatasetInputDataConfigBuilder
fn default() -> DatasetInputDataConfigBuilder
source§impl PartialEq for DatasetInputDataConfigBuilder
impl PartialEq for DatasetInputDataConfigBuilder
source§fn eq(&self, other: &DatasetInputDataConfigBuilder) -> bool
fn eq(&self, other: &DatasetInputDataConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.