Interface ContainsPiiEntitiesResponse.Builder

  • 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 the EntityLabel.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<EntityLabel>).

      Parameters:
      labels - a consumer that will call methods on EntityLabel.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: