@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getName() != null)
            sb.append("Name: ").append(getName()).append(",");
        if (getInputs() != null)
            sb.append("Inputs: ").append(getInputs()).append(",");
        if (getPiiType() != null)
            sb.append("PiiType: ").append(getPiiType()).append(",");
        if (getEntityTypesToDetect() != null)
            sb.append("EntityTypesToDetect: ").append(getEntityTypesToDetect()).append(",");
        if (getOutputColumnName() != null)
            sb.append("OutputColumnName: ").append(getOutputColumnName()).append(",");
        if (getSampleFraction() != null)
            sb.append("SampleFraction: ").append(getSampleFraction()).append(",");
        if (getThresholdFraction() != null)
            sb.append("ThresholdFraction: ").append(getThresholdFraction()).append(",");
        if (getMaskValue() != null)
            sb.append("MaskValue: ").append(getMaskValue());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/PIIDetection.java