public static interface DetectPiiEntitiesResponse.Builder extends ComprehendResponse.Builder, SdkPojo, CopyableBuilder<DetectPiiEntitiesResponse.Builder,DetectPiiEntitiesResponse>
| Modifier and Type | Method and Description |
|---|---|
DetectPiiEntitiesResponse.Builder |
entities(Collection<PiiEntity> entities)
A collection of PII entities identified in the input text.
|
DetectPiiEntitiesResponse.Builder |
entities(Consumer<PiiEntity.Builder>... entities)
A collection of PII entities identified in the input text.
|
DetectPiiEntitiesResponse.Builder |
entities(PiiEntity... entities)
A collection of PII entities identified in the input text.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectPiiEntitiesResponse.Builder entities(Collection<PiiEntity> entities)
A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
entities - A collection of PII entities identified in the input text. For each entity, the response provides the
entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend
has in the detection.DetectPiiEntitiesResponse.Builder entities(PiiEntity... entities)
A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
entities - A collection of PII entities identified in the input text. For each entity, the response provides the
entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend
has in the detection.DetectPiiEntitiesResponse.Builder entities(Consumer<PiiEntity.Builder>... entities)
A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the 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) Copyright © 2021. All rights reserved.