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

        if (obj instanceof Metrics == false)
            return false;
        Metrics other = (Metrics) obj;
        if (other.getRMSE() == null ^ this.getRMSE() == null)
            return false;
        if (other.getRMSE() != null && other.getRMSE().equals(this.getRMSE()) == false)
            return false;
        if (other.getWeightedQuantileLosses() == null ^ this.getWeightedQuantileLosses() == null)
            return false;
        if (other.getWeightedQuantileLosses() != null && other.getWeightedQuantileLosses().equals(this.getWeightedQuantileLosses()) == false)
            return false;
        if (other.getErrorMetrics() == null ^ this.getErrorMetrics() == null)
            return false;
        if (other.getErrorMetrics() != null && other.getErrorMetrics().equals(this.getErrorMetrics()) == false)
            return false;
        if (other.getAverageWeightedQuantileLoss() == null ^ this.getAverageWeightedQuantileLoss() == null)
            return false;
        if (other.getAverageWeightedQuantileLoss() != null && other.getAverageWeightedQuantileLoss().equals(this.getAverageWeightedQuantileLoss()) == 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-forecast/src/main/java/com/amazonaws/services/forecast/model/Metrics.java