#[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 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.
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 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 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
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 Default for DatasetEntityRecognizerInputDataConfigBuilder
impl Default for DatasetEntityRecognizerInputDataConfigBuilder
source§fn default() -> DatasetEntityRecognizerInputDataConfigBuilder
fn default() -> DatasetEntityRecognizerInputDataConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DatasetEntityRecognizerInputDataConfigBuilder> for DatasetEntityRecognizerInputDataConfigBuilder
impl PartialEq<DatasetEntityRecognizerInputDataConfigBuilder> for DatasetEntityRecognizerInputDataConfigBuilder
source§fn eq(&self, other: &DatasetEntityRecognizerInputDataConfigBuilder) -> bool
fn eq(&self, other: &DatasetEntityRecognizerInputDataConfigBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DatasetEntityRecognizerInputDataConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DatasetEntityRecognizerInputDataConfigBuilder
impl Send for DatasetEntityRecognizerInputDataConfigBuilder
impl Sync for DatasetEntityRecognizerInputDataConfigBuilder
impl Unpin for DatasetEntityRecognizerInputDataConfigBuilder
impl UnwindSafe for DatasetEntityRecognizerInputDataConfigBuilder
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
Mutably borrows from an owned value. Read more