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

        if (obj instanceof HPOConfig == false)
            return false;
        HPOConfig other = (HPOConfig) obj;
        if (other.getHpoObjective() == null ^ this.getHpoObjective() == null)
            return false;
        if (other.getHpoObjective() != null && other.getHpoObjective().equals(this.getHpoObjective()) == false)
            return false;
        if (other.getHpoResourceConfig() == null ^ this.getHpoResourceConfig() == null)
            return false;
        if (other.getHpoResourceConfig() != null && other.getHpoResourceConfig().equals(this.getHpoResourceConfig()) == false)
            return false;
        if (other.getAlgorithmHyperParameterRanges() == null ^ this.getAlgorithmHyperParameterRanges() == null)
            return false;
        if (other.getAlgorithmHyperParameterRanges() != null
                && other.getAlgorithmHyperParameterRanges().equals(this.getAlgorithmHyperParameterRanges()) == 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-personalize/src/main/java/com/amazonaws/services/personalize/model/HPOConfig.java