pub struct Builder { /* private fields */ }Expand description
A builder for EntityRecognizerSummary.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 build(self) -> EntityRecognizerSummary
pub fn build(self) -> EntityRecognizerSummary
Consumes the builder and constructs a EntityRecognizerSummary.