* The labels used in the document being analyzed. Individual labels represent personally identifiable information * (PII) entity types. *
*/ private java.util.List* The labels used in the document being analyzed. Individual labels represent personally identifiable information * (PII) entity types. *
* * @return The labels used in the document being analyzed. Individual labels represent personally identifiable * information (PII) entity types. */ public java.util.List* The labels used in the document being analyzed. Individual labels represent personally identifiable information * (PII) entity types. *
* * @param labels * The labels used in the document being analyzed. Individual labels represent personally identifiable * information (PII) entity types. */ public void setLabels(java.util.Collection* The labels used in the document being analyzed. Individual labels represent personally identifiable information * (PII) entity types. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setLabels(java.util.Collection)} or {@link #withLabels(java.util.Collection)} if you want to override the * existing values. *
* * @param labels * The labels used in the document being analyzed. Individual labels represent personally identifiable * information (PII) entity types. * @return Returns a reference to this object so that method calls can be chained together. */ public ContainsPiiEntitiesResult withLabels(EntityLabel... labels) { if (this.labels == null) { setLabels(new java.util.ArrayList* The labels used in the document being analyzed. Individual labels represent personally identifiable information * (PII) entity types. *
* * @param labels * The labels used in the document being analyzed. Individual labels represent personally identifiable * information (PII) entity types. * @return Returns a reference to this object so that method calls can be chained together. */ public ContainsPiiEntitiesResult withLabels(java.util.Collection