public PIIDetection withPiiType(PiiType piiType) {
        this.piiType = piiType.toString();
        return this;
    }
<p>
Indicates the type of PIIDetection transform.
</p>

@param piiType
       Indicates the type of PIIDetection transform.
@return Returns a reference to this object so that method calls can be chained together.
@see PiiType
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/PIIDetection.java