public RedactionConfig withPiiEntityTypes(java.util.Collection<String> piiEntityTypes) {
        setPiiEntityTypes(piiEntityTypes);
        return this;
    }
<p>
An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.
</p>

@param piiEntityTypes
       An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.
@return Returns a reference to this object so that method calls can be chained together.
@see PiiEntityType
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RedactionConfig.java