#[non_exhaustive]pub struct DatasetEntityRecognizerInputDataConfig { /* private fields */ }Expand description
Specifies the format and location of the input data. You must provide either the Annotations parameter or the EntityList parameter.
Implementations§
source§impl DatasetEntityRecognizerInputDataConfig
impl DatasetEntityRecognizerInputDataConfig
sourcepub fn annotations(&self) -> Option<&DatasetEntityRecognizerAnnotations>
pub fn annotations(&self) -> Option<&DatasetEntityRecognizerAnnotations>
The S3 location of the annotation documents for your custom entity recognizer.
sourcepub fn documents(&self) -> Option<&DatasetEntityRecognizerDocuments>
pub fn documents(&self) -> Option<&DatasetEntityRecognizerDocuments>
The format and location of the training documents for your custom entity recognizer.
sourcepub fn entity_list(&self) -> Option<&DatasetEntityRecognizerEntityList>
pub fn entity_list(&self) -> Option<&DatasetEntityRecognizerEntityList>
The S3 location of the entity list for your custom entity recognizer.
source§impl DatasetEntityRecognizerInputDataConfig
impl DatasetEntityRecognizerInputDataConfig
sourcepub fn builder() -> DatasetEntityRecognizerInputDataConfigBuilder
pub fn builder() -> DatasetEntityRecognizerInputDataConfigBuilder
Creates a new builder-style object to manufacture DatasetEntityRecognizerInputDataConfig.
Trait Implementations§
source§impl Clone for DatasetEntityRecognizerInputDataConfig
impl Clone for DatasetEntityRecognizerInputDataConfig
source§fn clone(&self) -> DatasetEntityRecognizerInputDataConfig
fn clone(&self) -> DatasetEntityRecognizerInputDataConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq<DatasetEntityRecognizerInputDataConfig> for DatasetEntityRecognizerInputDataConfig
impl PartialEq<DatasetEntityRecognizerInputDataConfig> for DatasetEntityRecognizerInputDataConfig
source§fn eq(&self, other: &DatasetEntityRecognizerInputDataConfig) -> bool
fn eq(&self, other: &DatasetEntityRecognizerInputDataConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.