#[non_exhaustive]pub struct DatasetEntityRecognizerInputDataConfigBuilder { /* private fields */ }
Expand description
A builder for DatasetEntityRecognizerInputDataConfig
.
Implementations§
source§impl DatasetEntityRecognizerInputDataConfigBuilder
impl DatasetEntityRecognizerInputDataConfigBuilder
sourcepub fn annotations(self, input: DatasetEntityRecognizerAnnotations) -> Self
pub fn annotations(self, input: DatasetEntityRecognizerAnnotations) -> Self
The S3 location of the annotation documents for your custom entity recognizer.
sourcepub fn set_annotations(
self,
input: Option<DatasetEntityRecognizerAnnotations>
) -> Self
pub fn set_annotations( self, input: Option<DatasetEntityRecognizerAnnotations> ) -> Self
The S3 location of the annotation documents for your custom entity recognizer.
sourcepub fn get_annotations(&self) -> &Option<DatasetEntityRecognizerAnnotations>
pub fn get_annotations(&self) -> &Option<DatasetEntityRecognizerAnnotations>
The S3 location of the annotation documents for your custom entity recognizer.
sourcepub fn documents(self, input: DatasetEntityRecognizerDocuments) -> Self
pub fn documents(self, input: DatasetEntityRecognizerDocuments) -> Self
The format and location of the training documents for your custom entity recognizer.
This field is required.sourcepub fn set_documents(
self,
input: Option<DatasetEntityRecognizerDocuments>
) -> Self
pub fn set_documents( self, input: Option<DatasetEntityRecognizerDocuments> ) -> Self
The format and location of the training documents for your custom entity recognizer.
sourcepub fn get_documents(&self) -> &Option<DatasetEntityRecognizerDocuments>
pub fn get_documents(&self) -> &Option<DatasetEntityRecognizerDocuments>
The format and location of the training documents for your custom entity recognizer.
sourcepub fn entity_list(self, input: DatasetEntityRecognizerEntityList) -> Self
pub fn entity_list(self, input: DatasetEntityRecognizerEntityList) -> Self
The S3 location of the entity list for your custom entity recognizer.
sourcepub fn set_entity_list(
self,
input: Option<DatasetEntityRecognizerEntityList>
) -> Self
pub fn set_entity_list( self, input: Option<DatasetEntityRecognizerEntityList> ) -> Self
The S3 location of the entity list for your custom entity recognizer.
sourcepub fn get_entity_list(&self) -> &Option<DatasetEntityRecognizerEntityList>
pub fn get_entity_list(&self) -> &Option<DatasetEntityRecognizerEntityList>
The S3 location of the entity list for your custom entity recognizer.
sourcepub fn build(self) -> DatasetEntityRecognizerInputDataConfig
pub fn build(self) -> DatasetEntityRecognizerInputDataConfig
Consumes the builder and constructs a DatasetEntityRecognizerInputDataConfig
.
Trait Implementations§
source§impl Clone for DatasetEntityRecognizerInputDataConfigBuilder
impl Clone for DatasetEntityRecognizerInputDataConfigBuilder
source§fn clone(&self) -> DatasetEntityRecognizerInputDataConfigBuilder
fn clone(&self) -> DatasetEntityRecognizerInputDataConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DatasetEntityRecognizerInputDataConfigBuilder
impl Default for DatasetEntityRecognizerInputDataConfigBuilder
source§fn default() -> DatasetEntityRecognizerInputDataConfigBuilder
fn default() -> DatasetEntityRecognizerInputDataConfigBuilder
source§impl PartialEq for DatasetEntityRecognizerInputDataConfigBuilder
impl PartialEq for DatasetEntityRecognizerInputDataConfigBuilder
source§fn eq(&self, other: &DatasetEntityRecognizerInputDataConfigBuilder) -> bool
fn eq(&self, other: &DatasetEntityRecognizerInputDataConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.