#[non_exhaustive]pub struct EntityRecognizerSummaryBuilder { /* private fields */ }Expand description
A builder for EntityRecognizerSummary.
Implementations§
source§impl EntityRecognizerSummaryBuilder
impl EntityRecognizerSummaryBuilder
sourcepub fn recognizer_name(self, input: impl Into<String>) -> Self
pub fn recognizer_name(self, input: impl Into<String>) -> Self
The name that you assigned the entity recognizer.
sourcepub fn set_recognizer_name(self, input: Option<String>) -> Self
pub fn set_recognizer_name(self, input: Option<String>) -> Self
The name that you assigned the entity recognizer.
sourcepub fn get_recognizer_name(&self) -> &Option<String>
pub fn get_recognizer_name(&self) -> &Option<String>
The name that you assigned the entity recognizer.
sourcepub fn number_of_versions(self, input: i32) -> Self
pub fn number_of_versions(self, input: i32) -> Self
The number of versions you created.
sourcepub fn set_number_of_versions(self, input: Option<i32>) -> Self
pub fn set_number_of_versions(self, input: Option<i32>) -> Self
The number of versions you created.
sourcepub fn get_number_of_versions(&self) -> &Option<i32>
pub fn get_number_of_versions(&self) -> &Option<i32>
The number of versions you created.
sourcepub fn latest_version_created_at(self, input: DateTime) -> Self
pub fn latest_version_created_at(self, input: DateTime) -> Self
The time that the latest entity recognizer version was submitted for processing.
sourcepub fn set_latest_version_created_at(self, input: Option<DateTime>) -> Self
pub fn set_latest_version_created_at(self, input: Option<DateTime>) -> Self
The time that the latest entity recognizer version was submitted for processing.
sourcepub fn get_latest_version_created_at(&self) -> &Option<DateTime>
pub fn get_latest_version_created_at(&self) -> &Option<DateTime>
The time that the latest entity recognizer version was submitted for processing.
sourcepub fn latest_version_name(self, input: impl Into<String>) -> Self
pub fn latest_version_name(self, input: impl Into<String>) -> Self
The version name you assigned to the latest entity recognizer version.
sourcepub fn set_latest_version_name(self, input: Option<String>) -> Self
pub fn set_latest_version_name(self, input: Option<String>) -> Self
The version name you assigned to the latest entity recognizer version.
sourcepub fn get_latest_version_name(&self) -> &Option<String>
pub fn get_latest_version_name(&self) -> &Option<String>
The version name you assigned to the latest entity recognizer version.
sourcepub fn latest_version_status(self, input: ModelStatus) -> Self
pub fn latest_version_status(self, input: ModelStatus) -> Self
Provides the status of the latest entity recognizer version.
sourcepub fn set_latest_version_status(self, input: Option<ModelStatus>) -> Self
pub fn set_latest_version_status(self, input: Option<ModelStatus>) -> Self
Provides the status of the latest entity recognizer version.
sourcepub fn get_latest_version_status(&self) -> &Option<ModelStatus>
pub fn get_latest_version_status(&self) -> &Option<ModelStatus>
Provides the status of the latest entity recognizer version.
sourcepub fn build(self) -> EntityRecognizerSummary
pub fn build(self) -> EntityRecognizerSummary
Consumes the builder and constructs a EntityRecognizerSummary.
Trait Implementations§
source§impl Clone for EntityRecognizerSummaryBuilder
impl Clone for EntityRecognizerSummaryBuilder
source§fn clone(&self) -> EntityRecognizerSummaryBuilder
fn clone(&self) -> EntityRecognizerSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for EntityRecognizerSummaryBuilder
impl Default for EntityRecognizerSummaryBuilder
source§fn default() -> EntityRecognizerSummaryBuilder
fn default() -> EntityRecognizerSummaryBuilder
source§impl PartialEq for EntityRecognizerSummaryBuilder
impl PartialEq for EntityRecognizerSummaryBuilder
source§fn eq(&self, other: &EntityRecognizerSummaryBuilder) -> bool
fn eq(&self, other: &EntityRecognizerSummaryBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EntityRecognizerSummaryBuilder
Auto Trait Implementations§
impl Freeze for EntityRecognizerSummaryBuilder
impl RefUnwindSafe for EntityRecognizerSummaryBuilder
impl Send for EntityRecognizerSummaryBuilder
impl Sync for EntityRecognizerSummaryBuilder
impl Unpin for EntityRecognizerSummaryBuilder
impl UnwindSafe for EntityRecognizerSummaryBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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