public static interface DetectPhiResponse.Builder extends ComprehendMedicalResponse.Builder, SdkPojo, CopyableBuilder<DetectPhiResponse.Builder,DetectPhiResponse>
Modifier and Type | Method and Description |
---|---|
DetectPhiResponse.Builder |
entities(Collection<Entity> entities)
The collection of PHI entities extracted from the input text and their associated information.
|
DetectPhiResponse.Builder |
entities(Consumer<Entity.Builder>... entities)
The collection of PHI entities extracted from the input text and their associated information.
|
DetectPhiResponse.Builder |
entities(Entity... entities)
The collection of PHI entities extracted from the input text and their associated information.
|
DetectPhiResponse.Builder |
paginationToken(String paginationToken)
If the result of the previous request to DetectPHI was truncated, include the Paginationtoken to fetch the
next page of PHI entities.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DetectPhiResponse.Builder entities(Collection<Entity> entities)
The collection of PHI 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 its detection.
entities
- The collection of PHI 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 its detection.DetectPhiResponse.Builder entities(Entity... entities)
The collection of PHI 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 its detection.
entities
- The collection of PHI 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 its detection.DetectPhiResponse.Builder entities(Consumer<Entity.Builder>... entities)
The collection of PHI 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 its detection.
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)
DetectPhiResponse.Builder paginationToken(String paginationToken)
If the result of the previous request to DetectPHI was truncated, include the Paginationtoken to fetch the next page of PHI entities.
paginationToken
- If the result of the previous request to DetectPHI was truncated, include the Paginationtoken to fetch
the next page of PHI entities.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.