Interface DetectPiiEntitiesResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- ComprehendResponse.Builder,- CopyableBuilder<DetectPiiEntitiesResponse.Builder,,- DetectPiiEntitiesResponse> - SdkBuilder<DetectPiiEntitiesResponse.Builder,,- DetectPiiEntitiesResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- DetectPiiEntitiesResponse
- 
Method SummaryModifier and TypeMethodDescriptionentities(Collection<PiiEntity> entities) A collection of PII entities identified in the input text.entities(Consumer<PiiEntity.Builder>... entities) A collection of PII entities identified in the input text.A collection of PII entities identified in the input text.Methods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
entitiesA 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
entitiesA 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
entitiesA 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.Builderavoiding the need to create one manually viaPiiEntity.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentities(List<PiiEntity>).- Parameters:
- entities- a consumer that will call methods on- PiiEntity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-