Struct aws_sdk_comprehendmedical::operation::infer_snomedct::builders::InferSnomedctOutputBuilder
source · #[non_exhaustive]pub struct InferSnomedctOutputBuilder { /* private fields */ }
Expand description
A builder for InferSnomedctOutput
.
Implementations§
source§impl InferSnomedctOutputBuilder
impl InferSnomedctOutputBuilder
sourcepub fn entities(self, input: SnomedctEntity) -> Self
pub fn entities(self, input: SnomedctEntity) -> Self
Appends an item to entities
.
To override the contents of this collection use set_entities
.
The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
sourcepub fn set_entities(self, input: Option<Vec<SnomedctEntity>>) -> Self
pub fn set_entities(self, input: Option<Vec<SnomedctEntity>>) -> Self
The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
sourcepub fn get_entities(&self) -> &Option<Vec<SnomedctEntity>>
pub fn get_entities(&self) -> &Option<Vec<SnomedctEntity>>
The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
sourcepub fn pagination_token(self, input: impl Into<String>) -> Self
pub fn pagination_token(self, input: impl Into<String>) -> Self
If the result of the request is truncated, the pagination token can be used to fetch the next page of entities.
sourcepub fn set_pagination_token(self, input: Option<String>) -> Self
pub fn set_pagination_token(self, input: Option<String>) -> Self
If the result of the request is truncated, the pagination token can be used to fetch the next page of entities.
sourcepub fn get_pagination_token(&self) -> &Option<String>
pub fn get_pagination_token(&self) -> &Option<String>
If the result of the request is truncated, the pagination token can be used to fetch the next page of entities.
sourcepub fn model_version(self, input: impl Into<String>) -> Self
pub fn model_version(self, input: impl Into<String>) -> Self
The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.
sourcepub fn set_model_version(self, input: Option<String>) -> Self
pub fn set_model_version(self, input: Option<String>) -> Self
The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.
sourcepub fn get_model_version(&self) -> &Option<String>
pub fn get_model_version(&self) -> &Option<String>
The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.
sourcepub fn snomedct_details(self, input: SnomedctDetails) -> Self
pub fn snomedct_details(self, input: SnomedctDetails) -> Self
The details of the SNOMED-CT revision, including the edition, language, and version date.
sourcepub fn set_snomedct_details(self, input: Option<SnomedctDetails>) -> Self
pub fn set_snomedct_details(self, input: Option<SnomedctDetails>) -> Self
The details of the SNOMED-CT revision, including the edition, language, and version date.
sourcepub fn get_snomedct_details(&self) -> &Option<SnomedctDetails>
pub fn get_snomedct_details(&self) -> &Option<SnomedctDetails>
The details of the SNOMED-CT revision, including the edition, language, and version date.
sourcepub fn characters(self, input: Characters) -> Self
pub fn characters(self, input: Characters) -> Self
The number of characters in the input request documentation.
sourcepub fn set_characters(self, input: Option<Characters>) -> Self
pub fn set_characters(self, input: Option<Characters>) -> Self
The number of characters in the input request documentation.
sourcepub fn get_characters(&self) -> &Option<Characters>
pub fn get_characters(&self) -> &Option<Characters>
The number of characters in the input request documentation.
sourcepub fn build(self) -> Result<InferSnomedctOutput, BuildError>
pub fn build(self) -> Result<InferSnomedctOutput, BuildError>
Consumes the builder and constructs a InferSnomedctOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for InferSnomedctOutputBuilder
impl Clone for InferSnomedctOutputBuilder
source§fn clone(&self) -> InferSnomedctOutputBuilder
fn clone(&self) -> InferSnomedctOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InferSnomedctOutputBuilder
impl Debug for InferSnomedctOutputBuilder
source§impl Default for InferSnomedctOutputBuilder
impl Default for InferSnomedctOutputBuilder
source§fn default() -> InferSnomedctOutputBuilder
fn default() -> InferSnomedctOutputBuilder
source§impl PartialEq for InferSnomedctOutputBuilder
impl PartialEq for InferSnomedctOutputBuilder
source§fn eq(&self, other: &InferSnomedctOutputBuilder) -> bool
fn eq(&self, other: &InferSnomedctOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InferSnomedctOutputBuilder
Auto Trait Implementations§
impl Freeze for InferSnomedctOutputBuilder
impl RefUnwindSafe for InferSnomedctOutputBuilder
impl Send for InferSnomedctOutputBuilder
impl Sync for InferSnomedctOutputBuilder
impl Unpin for InferSnomedctOutputBuilder
impl UnwindSafe for InferSnomedctOutputBuilder
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