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

        if (obj instanceof TopicCategoryFilterConstant == false)
            return false;
        TopicCategoryFilterConstant other = (TopicCategoryFilterConstant) obj;
        if (other.getConstantType() == null ^ this.getConstantType() == null)
            return false;
        if (other.getConstantType() != null && other.getConstantType().equals(this.getConstantType()) == false)
            return false;
        if (other.getSingularConstant() == null ^ this.getSingularConstant() == null)
            return false;
        if (other.getSingularConstant() != null && other.getSingularConstant().equals(this.getSingularConstant()) == false)
            return false;
        if (other.getCollectiveConstant() == null ^ this.getCollectiveConstant() == null)
            return false;
        if (other.getCollectiveConstant() != null && other.getCollectiveConstant().equals(this.getCollectiveConstant()) == 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-quicksight/src/main/java/com/amazonaws/services/quicksight/model/TopicCategoryFilterConstant.java