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 method that creates an instance of thePiiEntity.Builder avoiding the need to create one
manually via PiiEntity.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #entities(List.
entities - a consumer that will call methods on
PiiEntity.Builder#entities(java.util.Collection) Copyright © 2023. All rights reserved.