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

        if (obj instanceof TrainingJobStatusCounters == false)
            return false;
        TrainingJobStatusCounters other = (TrainingJobStatusCounters) obj;
        if (other.getCompleted() == null ^ this.getCompleted() == null)
            return false;
        if (other.getCompleted() != null && other.getCompleted().equals(this.getCompleted()) == false)
            return false;
        if (other.getInProgress() == null ^ this.getInProgress() == null)
            return false;
        if (other.getInProgress() != null && other.getInProgress().equals(this.getInProgress()) == false)
            return false;
        if (other.getRetryableError() == null ^ this.getRetryableError() == null)
            return false;
        if (other.getRetryableError() != null && other.getRetryableError().equals(this.getRetryableError()) == false)
            return false;
        if (other.getNonRetryableError() == null ^ this.getNonRetryableError() == null)
            return false;
        if (other.getNonRetryableError() != null && other.getNonRetryableError().equals(this.getNonRetryableError()) == false)
            return false;
        if (other.getStopped() == null ^ this.getStopped() == null)
            return false;
        if (other.getStopped() != null && other.getStopped().equals(this.getStopped()) == 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-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/TrainingJobStatusCounters.java