public static interface DetectEntitiesResponse.Builder extends ComprehendMedicalResponse.Builder, SdkPojo, CopyableBuilder<DetectEntitiesResponse.Builder,DetectEntitiesResponse>
Modifier and Type | Method and Description |
---|---|
DetectEntitiesResponse.Builder |
entities(Collection<Entity> entities)
The collection of medical entities extracted from the input text and their associated information.
|
DetectEntitiesResponse.Builder |
entities(Consumer<Entity.Builder>... entities)
The collection of medical entities extracted from the input text and their associated information.
|
DetectEntitiesResponse.Builder |
entities(Entity... entities)
The collection of medical entities extracted from the input text and their associated information.
|
DetectEntitiesResponse.Builder |
paginationToken(String paginationToken)
If the result of the previous request to DetectEntities was truncated, include the Paginationtoken to fetch
the next page of entities.
|
DetectEntitiesResponse.Builder |
unmappedAttributes(Collection<UnmappedAttribute> unmappedAttributes)
Attributes extracted from the input text that we were unable to relate to an entity.
|
DetectEntitiesResponse.Builder |
unmappedAttributes(Consumer<UnmappedAttribute.Builder>... unmappedAttributes)
Attributes extracted from the input text that we were unable to relate to an entity.
|
DetectEntitiesResponse.Builder |
unmappedAttributes(UnmappedAttribute... unmappedAttributes)
Attributes extracted from the input text that we were unable to relate to an entity.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DetectEntitiesResponse.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 that Comprehend Medical has 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 that Comprehend Medical has in the detection and analysis.
Attributes and traits of the entity are also returned.DetectEntitiesResponse.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 that Comprehend Medical has 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 that Comprehend Medical has in the detection and analysis.
Attributes and traits of the entity are also returned.DetectEntitiesResponse.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 that Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
This is a convenience 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)
DetectEntitiesResponse.Builder unmappedAttributes(Collection<UnmappedAttribute> unmappedAttributes)
Attributes extracted from the input text that we were unable to relate to an entity.
unmappedAttributes
- Attributes extracted from the input text that we were unable to relate to an entity.DetectEntitiesResponse.Builder unmappedAttributes(UnmappedAttribute... unmappedAttributes)
Attributes extracted from the input text that we were unable to relate to an entity.
unmappedAttributes
- Attributes extracted from the input text that we were unable to relate to an entity.DetectEntitiesResponse.Builder unmappedAttributes(Consumer<UnmappedAttribute.Builder>... unmappedAttributes)
Attributes extracted from the input text that we were unable to relate to an entity.
This is a convenience 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)
DetectEntitiesResponse.Builder paginationToken(String paginationToken)
If the result of the previous request to DetectEntities was truncated, include the Paginationtoken to fetch the next page of entities.
paginationToken
- If the result of the previous request to DetectEntities was truncated, include the Paginationtoken to
fetch the next page of entities.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.