@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof PIIDetection == false)
            return false;
        PIIDetection other = (PIIDetection) obj;
        if (other.getName() == null ^ this.getName() == null)
            return false;
        if (other.getName() != null && other.getName().equals(this.getName()) == false)
            return false;
        if (other.getInputs() == null ^ this.getInputs() == null)
            return false;
        if (other.getInputs() != null && other.getInputs().equals(this.getInputs()) == false)
            return false;
        if (other.getPiiType() == null ^ this.getPiiType() == null)
            return false;
        if (other.getPiiType() != null && other.getPiiType().equals(this.getPiiType()) == false)
            return false;
        if (other.getEntityTypesToDetect() == null ^ this.getEntityTypesToDetect() == null)
            return false;
        if (other.getEntityTypesToDetect() != null && other.getEntityTypesToDetect().equals(this.getEntityTypesToDetect()) == false)
            return false;
        if (other.getOutputColumnName() == null ^ this.getOutputColumnName() == null)
            return false;
        if (other.getOutputColumnName() != null && other.getOutputColumnName().equals(this.getOutputColumnName()) == false)
            return false;
        if (other.getSampleFraction() == null ^ this.getSampleFraction() == null)
            return false;
        if (other.getSampleFraction() != null && other.getSampleFraction().equals(this.getSampleFraction()) == false)
            return false;
        if (other.getThresholdFraction() == null ^ this.getThresholdFraction() == null)
            return false;
        if (other.getThresholdFraction() != null && other.getThresholdFraction().equals(this.getThresholdFraction()) == false)
            return false;
        if (other.getMaskValue() == null ^ this.getMaskValue() == null)
            return false;
        if (other.getMaskValue() != null && other.getMaskValue().equals(this.getMaskValue()) == false)
            return false;
        return true;
    }
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