#[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 ==.impl StructuralPartialEq for DocumentClassifierSummaryBuilder
Auto Trait Implementations§
impl Freeze for DocumentClassifierSummaryBuilder
impl RefUnwindSafe for DocumentClassifierSummaryBuilder
impl Send for DocumentClassifierSummaryBuilder
impl Sync for DocumentClassifierSummaryBuilder
impl Unpin for DocumentClassifierSummaryBuilder
impl UnwindSafe for DocumentClassifierSummaryBuilder
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