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

        if (obj instanceof EntityTypeSort == false)
            return false;
        EntityTypeSort other = (EntityTypeSort) obj;
        if (other.getDataProductSort() == null ^ this.getDataProductSort() == null)
            return false;
        if (other.getDataProductSort() != null && other.getDataProductSort().equals(this.getDataProductSort()) == false)
            return false;
        if (other.getSaaSProductSort() == null ^ this.getSaaSProductSort() == null)
            return false;
        if (other.getSaaSProductSort() != null && other.getSaaSProductSort().equals(this.getSaaSProductSort()) == false)
            return false;
        if (other.getAmiProductSort() == null ^ this.getAmiProductSort() == null)
            return false;
        if (other.getAmiProductSort() != null && other.getAmiProductSort().equals(this.getAmiProductSort()) == false)
            return false;
        if (other.getOfferSort() == null ^ this.getOfferSort() == null)
            return false;
        if (other.getOfferSort() != null && other.getOfferSort().equals(this.getOfferSort()) == false)
            return false;
        if (other.getContainerProductSort() == null ^ this.getContainerProductSort() == null)
            return false;
        if (other.getContainerProductSort() != null && other.getContainerProductSort().equals(this.getContainerProductSort()) == false)
            return false;
        if (other.getResaleAuthorizationSort() == null ^ this.getResaleAuthorizationSort() == null)
            return false;
        if (other.getResaleAuthorizationSort() != null && other.getResaleAuthorizationSort().equals(this.getResaleAuthorizationSort()) == 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-marketplacecatalog/src/main/java/com/amazonaws/services/marketplacecatalog/model/EntityTypeSort.java