Interface ContainsPiiEntitiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ComprehendResponse.Builder
,CopyableBuilder<ContainsPiiEntitiesResponse.Builder,
,ContainsPiiEntitiesResponse> SdkBuilder<ContainsPiiEntitiesResponse.Builder,
,ContainsPiiEntitiesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ContainsPiiEntitiesResponse
public static interface ContainsPiiEntitiesResponse.Builder
extends ComprehendResponse.Builder, SdkPojo, CopyableBuilder<ContainsPiiEntitiesResponse.Builder,ContainsPiiEntitiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlabels
(Collection<EntityLabel> labels) The labels used in the document being analyzed.labels
(Consumer<EntityLabel.Builder>... labels) The labels used in the document being analyzed.labels
(EntityLabel... labels) The labels used in the document being analyzed.Methods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
labels
The labels used in the document being analyzed. Individual labels represent personally identifiable information (PII) entity types.
- Parameters:
labels
- The labels used in the document being analyzed. Individual labels represent personally identifiable information (PII) entity types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
The labels used in the document being analyzed. Individual labels represent personally identifiable information (PII) entity types.
- Parameters:
labels
- The labels used in the document being analyzed. Individual labels represent personally identifiable information (PII) entity types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaEntityLabel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolabels(List<EntityLabel>)
.- Parameters:
labels
- a consumer that will call methods onEntityLabel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-