#[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 ==
.impl StructuralPartialEq for DatasetEntityRecognizerInputDataConfigBuilder
Auto Trait Implementations§
impl Freeze for DatasetEntityRecognizerInputDataConfigBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more