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

        if (obj instanceof Datum == false)
            return false;
        Datum other = (Datum) obj;
        if (other.getScalarValue() == null ^ this.getScalarValue() == null)
            return false;
        if (other.getScalarValue() != null && other.getScalarValue().equals(this.getScalarValue()) == false)
            return false;
        if (other.getTimeSeriesValue() == null ^ this.getTimeSeriesValue() == null)
            return false;
        if (other.getTimeSeriesValue() != null && other.getTimeSeriesValue().equals(this.getTimeSeriesValue()) == false)
            return false;
        if (other.getArrayValue() == null ^ this.getArrayValue() == null)
            return false;
        if (other.getArrayValue() != null && other.getArrayValue().equals(this.getArrayValue()) == false)
            return false;
        if (other.getRowValue() == null ^ this.getRowValue() == null)
            return false;
        if (other.getRowValue() != null && other.getRowValue().equals(this.getRowValue()) == false)
            return false;
        if (other.getNullValue() == null ^ this.getNullValue() == null)
            return false;
        if (other.getNullValue() != null && other.getNullValue().equals(this.getNullValue()) == 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-timestreamquery/src/main/java/com/amazonaws/services/timestreamquery/model/Datum.java