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

        if (obj instanceof OptimizationJobSummary == false)
            return false;
        OptimizationJobSummary other = (OptimizationJobSummary) obj;
        if (other.getOptimizationJobName() == null ^ this.getOptimizationJobName() == null)
            return false;
        if (other.getOptimizationJobName() != null && other.getOptimizationJobName().equals(this.getOptimizationJobName()) == false)
            return false;
        if (other.getOptimizationJobArn() == null ^ this.getOptimizationJobArn() == null)
            return false;
        if (other.getOptimizationJobArn() != null && other.getOptimizationJobArn().equals(this.getOptimizationJobArn()) == false)
            return false;
        if (other.getCreationTime() == null ^ this.getCreationTime() == null)
            return false;
        if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false)
            return false;
        if (other.getOptimizationJobStatus() == null ^ this.getOptimizationJobStatus() == null)
            return false;
        if (other.getOptimizationJobStatus() != null && other.getOptimizationJobStatus().equals(this.getOptimizationJobStatus()) == false)
            return false;
        if (other.getOptimizationStartTime() == null ^ this.getOptimizationStartTime() == null)
            return false;
        if (other.getOptimizationStartTime() != null && other.getOptimizationStartTime().equals(this.getOptimizationStartTime()) == false)
            return false;
        if (other.getOptimizationEndTime() == null ^ this.getOptimizationEndTime() == null)
            return false;
        if (other.getOptimizationEndTime() != null && other.getOptimizationEndTime().equals(this.getOptimizationEndTime()) == false)
            return false;
        if (other.getLastModifiedTime() == null ^ this.getLastModifiedTime() == null)
            return false;
        if (other.getLastModifiedTime() != null && other.getLastModifiedTime().equals(this.getLastModifiedTime()) == false)
            return false;
        if (other.getDeploymentInstanceType() == null ^ this.getDeploymentInstanceType() == null)
            return false;
        if (other.getDeploymentInstanceType() != null && other.getDeploymentInstanceType().equals(this.getDeploymentInstanceType()) == false)
            return false;
        if (other.getOptimizationTypes() == null ^ this.getOptimizationTypes() == null)
            return false;
        if (other.getOptimizationTypes() != null && other.getOptimizationTypes().equals(this.getOptimizationTypes()) == 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/OptimizationJobSummary.java