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

        if (obj instanceof Ec2Configuration == false)
            return false;
        Ec2Configuration other = (Ec2Configuration) obj;
        if (other.getImageType() == null ^ this.getImageType() == null)
            return false;
        if (other.getImageType() != null && other.getImageType().equals(this.getImageType()) == false)
            return false;
        if (other.getImageIdOverride() == null ^ this.getImageIdOverride() == null)
            return false;
        if (other.getImageIdOverride() != null && other.getImageIdOverride().equals(this.getImageIdOverride()) == false)
            return false;
        if (other.getImageKubernetesVersion() == null ^ this.getImageKubernetesVersion() == null)
            return false;
        if (other.getImageKubernetesVersion() != null && other.getImageKubernetesVersion().equals(this.getImageKubernetesVersion()) == 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-batch/src/main/java/com/amazonaws/services/batch/model/Ec2Configuration.java