#[non_exhaustive]pub struct DocumentClassifierSummaryBuilder { /* private fields */ }Expand description
A builder for DocumentClassifierSummary.
Implementations§
source§impl DocumentClassifierSummaryBuilder
impl DocumentClassifierSummaryBuilder
sourcepub fn document_classifier_name(self, input: impl Into<String>) -> Self
pub fn document_classifier_name(self, input: impl Into<String>) -> Self
The name that you assigned the document classifier.
sourcepub fn set_document_classifier_name(self, input: Option<String>) -> Self
pub fn set_document_classifier_name(self, input: Option<String>) -> Self
The name that you assigned the document classifier.
sourcepub fn get_document_classifier_name(&self) -> &Option<String>
pub fn get_document_classifier_name(&self) -> &Option<String>
The name that you assigned the document classifier.
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 document classifier 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 document classifier 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 document classifier 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 document classifier 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 document classifier 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 document classifier 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 document classifier 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 document classifier 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 document classifier version.
sourcepub fn build(self) -> DocumentClassifierSummary
pub fn build(self) -> DocumentClassifierSummary
Consumes the builder and constructs a DocumentClassifierSummary.
Trait Implementations§
source§impl Clone for DocumentClassifierSummaryBuilder
impl Clone for DocumentClassifierSummaryBuilder
source§fn clone(&self) -> DocumentClassifierSummaryBuilder
fn clone(&self) -> DocumentClassifierSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DocumentClassifierSummaryBuilder
impl Default for DocumentClassifierSummaryBuilder
source§fn default() -> DocumentClassifierSummaryBuilder
fn default() -> DocumentClassifierSummaryBuilder
source§impl PartialEq for DocumentClassifierSummaryBuilder
impl PartialEq for DocumentClassifierSummaryBuilder
source§fn eq(&self, other: &DocumentClassifierSummaryBuilder) -> bool
fn eq(&self, other: &DocumentClassifierSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.