pub struct Builder { /* private fields */ }Expand description
A builder for StopTrainingDocumentClassifierInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn document_classifier_arn(self, input: impl Into<String>) -> Self
pub fn document_classifier_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that identifies the document classifier currently being trained.
sourcepub fn set_document_classifier_arn(self, input: Option<String>) -> Self
pub fn set_document_classifier_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that identifies the document classifier currently being trained.
sourcepub fn build(self) -> Result<StopTrainingDocumentClassifierInput, BuildError>
pub fn build(self) -> Result<StopTrainingDocumentClassifierInput, BuildError>
Consumes the builder and constructs a StopTrainingDocumentClassifierInput.