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

        if (obj instanceof SankeyDiagramSortConfiguration == false)
            return false;
        SankeyDiagramSortConfiguration other = (SankeyDiagramSortConfiguration) obj;
        if (other.getWeightSort() == null ^ this.getWeightSort() == null)
            return false;
        if (other.getWeightSort() != null && other.getWeightSort().equals(this.getWeightSort()) == false)
            return false;
        if (other.getSourceItemsLimit() == null ^ this.getSourceItemsLimit() == null)
            return false;
        if (other.getSourceItemsLimit() != null && other.getSourceItemsLimit().equals(this.getSourceItemsLimit()) == false)
            return false;
        if (other.getDestinationItemsLimit() == null ^ this.getDestinationItemsLimit() == null)
            return false;
        if (other.getDestinationItemsLimit() != null && other.getDestinationItemsLimit().equals(this.getDestinationItemsLimit()) == 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/SankeyDiagramSortConfiguration.java