public static interface ContainsPiiEntitiesResponse.Builder extends ComprehendResponse.Builder, SdkPojo, CopyableBuilder<ContainsPiiEntitiesResponse.Builder,ContainsPiiEntitiesResponse>
| Modifier and Type | Method and Description |
|---|---|
ContainsPiiEntitiesResponse.Builder |
labels(Collection<EntityLabel> labels)
The labels used in the document being analyzed.
|
ContainsPiiEntitiesResponse.Builder |
labels(Consumer<EntityLabel.Builder>... labels)
The labels used in the document being analyzed.
|
ContainsPiiEntitiesResponse.Builder |
labels(EntityLabel... labels)
The labels used in the document being analyzed.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildContainsPiiEntitiesResponse.Builder labels(Collection<EntityLabel> labels)
The labels used in the document being analyzed. Individual labels represent personally identifiable information (PII) entity types.
labels - The labels used in the document being analyzed. Individual labels represent personally identifiable
information (PII) entity types.ContainsPiiEntitiesResponse.Builder labels(EntityLabel... labels)
The labels used in the document being analyzed. Individual labels represent personally identifiable information (PII) entity types.
labels - The labels used in the document being analyzed. Individual labels represent personally identifiable
information (PII) entity types.ContainsPiiEntitiesResponse.Builder labels(Consumer<EntityLabel.Builder>... labels)
The labels used in the document being analyzed. Individual labels represent personally identifiable information (PII) entity types.
This is a convenience method that creates an instance of theEntityLabel.Builder avoiding the need to create one
manually via EntityLabel.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #labels(List.
labels - a consumer that will call methods on
EntityLabel.Builder#labels(java.util.Collection) Copyright © 2023. All rights reserved.