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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainsPiiEntitiesResponse.Builderlabels(Collection<EntityLabel> labels)The labels used in the document being analyzed.ContainsPiiEntitiesResponse.Builderlabels(Consumer<EntityLabel.Builder>... labels)The labels used in the document being analyzed.ContainsPiiEntitiesResponse.Builderlabels(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 Detail
-
labels
ContainsPiiEntitiesResponse.Builder labels(Collection<EntityLabel> 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
ContainsPiiEntitiesResponse.Builder labels(EntityLabel... 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
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.Builderavoiding the need to create one manually viaEntityLabel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#labels(List.) - 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:
#labels(java.util.Collection)
-
-