public void setPiiEntityTypes(java.util.Collection<String> piiEntityTypes) {
        if (piiEntityTypes == null) {
            this.piiEntityTypes = null;
            return;
        }

        this.piiEntityTypes = new java.util.ArrayList<String>(piiEntityTypes);
    }
<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.
@see PiiEntityType
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RedactionConfig.java