Struct aws_sdk_comprehend::types::builders::TaskConfigBuilder
source · #[non_exhaustive]pub struct TaskConfigBuilder { /* private fields */ }Expand description
A builder for TaskConfig.
Implementations§
source§impl TaskConfigBuilder
impl TaskConfigBuilder
sourcepub fn language_code(self, input: LanguageCode) -> Self
pub fn language_code(self, input: LanguageCode) -> Self
Language code for the language that the model supports.
sourcepub fn set_language_code(self, input: Option<LanguageCode>) -> Self
pub fn set_language_code(self, input: Option<LanguageCode>) -> Self
Language code for the language that the model supports.
sourcepub fn get_language_code(&self) -> &Option<LanguageCode>
pub fn get_language_code(&self) -> &Option<LanguageCode>
Language code for the language that the model supports.
sourcepub fn document_classification_config(
self,
input: DocumentClassificationConfig
) -> Self
pub fn document_classification_config( self, input: DocumentClassificationConfig ) -> Self
Configuration required for a classification model.
sourcepub fn set_document_classification_config(
self,
input: Option<DocumentClassificationConfig>
) -> Self
pub fn set_document_classification_config( self, input: Option<DocumentClassificationConfig> ) -> Self
Configuration required for a classification model.
sourcepub fn get_document_classification_config(
&self
) -> &Option<DocumentClassificationConfig>
pub fn get_document_classification_config( &self ) -> &Option<DocumentClassificationConfig>
Configuration required for a classification model.
sourcepub fn entity_recognition_config(self, input: EntityRecognitionConfig) -> Self
pub fn entity_recognition_config(self, input: EntityRecognitionConfig) -> Self
Configuration required for an entity recognition model.
sourcepub fn set_entity_recognition_config(
self,
input: Option<EntityRecognitionConfig>
) -> Self
pub fn set_entity_recognition_config( self, input: Option<EntityRecognitionConfig> ) -> Self
Configuration required for an entity recognition model.
sourcepub fn get_entity_recognition_config(&self) -> &Option<EntityRecognitionConfig>
pub fn get_entity_recognition_config(&self) -> &Option<EntityRecognitionConfig>
Configuration required for an entity recognition model.
sourcepub fn build(self) -> TaskConfig
pub fn build(self) -> TaskConfig
Consumes the builder and constructs a TaskConfig.
Trait Implementations§
source§impl Clone for TaskConfigBuilder
impl Clone for TaskConfigBuilder
source§fn clone(&self) -> TaskConfigBuilder
fn clone(&self) -> TaskConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TaskConfigBuilder
impl Debug for TaskConfigBuilder
source§impl Default for TaskConfigBuilder
impl Default for TaskConfigBuilder
source§fn default() -> TaskConfigBuilder
fn default() -> TaskConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TaskConfigBuilder
impl PartialEq for TaskConfigBuilder
source§fn eq(&self, other: &TaskConfigBuilder) -> bool
fn eq(&self, other: &TaskConfigBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TaskConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TaskConfigBuilder
impl Send for TaskConfigBuilder
impl Sync for TaskConfigBuilder
impl Unpin for TaskConfigBuilder
impl UnwindSafe for TaskConfigBuilder
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
Mutably borrows from an owned value. Read more