public static interface DetectEntitiesV2Response.Builder extends ComprehendMedicalResponse.Builder, SdkPojo, CopyableBuilder<DetectEntitiesV2Response.Builder,DetectEntitiesV2Response>
| Modifier and Type | Method and Description |
|---|---|
DetectEntitiesV2Response.Builder |
entities(Collection<Entity> entities)
The collection of medical entities extracted from the input text and their associated information.
|
DetectEntitiesV2Response.Builder |
entities(Consumer<Entity.Builder>... entities)
The collection of medical entities extracted from the input text and their associated information.
|
DetectEntitiesV2Response.Builder |
entities(Entity... entities)
The collection of medical entities extracted from the input text and their associated information.
|
DetectEntitiesV2Response.Builder |
modelVersion(String modelVersion)
The version of the model used to analyze the documents.
|
DetectEntitiesV2Response.Builder |
paginationToken(String paginationToken)
If the result to the
DetectEntitiesV2 operation was truncated, include the
PaginationToken to fetch the next page of entities. |
DetectEntitiesV2Response.Builder |
unmappedAttributes(Collection<UnmappedAttribute> unmappedAttributes)
Attributes extracted from the input text that couldn't be related to an entity.
|
DetectEntitiesV2Response.Builder |
unmappedAttributes(Consumer<UnmappedAttribute.Builder>... unmappedAttributes)
Attributes extracted from the input text that couldn't be related to an entity.
|
DetectEntitiesV2Response.Builder |
unmappedAttributes(UnmappedAttribute... unmappedAttributes)
Attributes extracted from the input text that couldn't be related to an entity.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectEntitiesV2Response.Builder entities(Collection<Entity> entities)
The collection of medical 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 in the detection and analysis. Attributes and traits of the entity are also returned.
entities - The collection of medical 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 in the detection and analysis. Attributes and traits of the
entity are also returned.DetectEntitiesV2Response.Builder entities(Entity... entities)
The collection of medical 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 in the detection and analysis. Attributes and traits of the entity are also returned.
entities - The collection of medical 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 in the detection and analysis. Attributes and traits of the
entity are also returned.DetectEntitiesV2Response.Builder entities(Consumer<Entity.Builder>... entities)
The collection of medical 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 in the detection and analysis. Attributes and traits of the entity are also returned.
This is a convenience method that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #entities(List) .entities - a consumer that will call methods on List.Builder #entities(List) DetectEntitiesV2Response.Builder unmappedAttributes(Collection<UnmappedAttribute> unmappedAttributes)
Attributes extracted from the input text that couldn't be related to an entity.
unmappedAttributes - Attributes extracted from the input text that couldn't be related to an entity.DetectEntitiesV2Response.Builder unmappedAttributes(UnmappedAttribute... unmappedAttributes)
Attributes extracted from the input text that couldn't be related to an entity.
unmappedAttributes - Attributes extracted from the input text that couldn't be related to an entity.DetectEntitiesV2Response.Builder unmappedAttributes(Consumer<UnmappedAttribute.Builder>... unmappedAttributes)
Attributes extracted from the input text that couldn't be related to an entity.
This is a convenience method that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #unmappedAttributes(List) .unmappedAttributes - a consumer that will call methods on List.Builder #unmappedAttributes(List) DetectEntitiesV2Response.Builder paginationToken(String paginationToken)
If the result to the DetectEntitiesV2 operation was truncated, include the
PaginationToken to fetch the next page of entities.
paginationToken - If the result to the DetectEntitiesV2 operation was truncated, include the
PaginationToken to fetch the next page of entities.DetectEntitiesV2Response.Builder modelVersion(String modelVersion)
The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.
modelVersion - The version of the model used to analyze the documents. The version number looks like X.X.X. You can
use this information to track the model used for a particular batch of documents.Copyright © 2022. All rights reserved.