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

        if (obj instanceof CreateUpdatedImageRequest == false)
            return false;
        CreateUpdatedImageRequest other = (CreateUpdatedImageRequest) obj;
        if (other.getExistingImageName() == null ^ this.getExistingImageName() == null)
            return false;
        if (other.getExistingImageName() != null && other.getExistingImageName().equals(this.getExistingImageName()) == false)
            return false;
        if (other.getNewImageName() == null ^ this.getNewImageName() == null)
            return false;
        if (other.getNewImageName() != null && other.getNewImageName().equals(this.getNewImageName()) == false)
            return false;
        if (other.getNewImageDescription() == null ^ this.getNewImageDescription() == null)
            return false;
        if (other.getNewImageDescription() != null && other.getNewImageDescription().equals(this.getNewImageDescription()) == false)
            return false;
        if (other.getNewImageDisplayName() == null ^ this.getNewImageDisplayName() == null)
            return false;
        if (other.getNewImageDisplayName() != null && other.getNewImageDisplayName().equals(this.getNewImageDisplayName()) == false)
            return false;
        if (other.getNewImageTags() == null ^ this.getNewImageTags() == null)
            return false;
        if (other.getNewImageTags() != null && other.getNewImageTags().equals(this.getNewImageTags()) == false)
            return false;
        if (other.getDryRun() == null ^ this.getDryRun() == null)
            return false;
        if (other.getDryRun() != null && other.getDryRun().equals(this.getDryRun()) == 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-appstream/src/main/java/com/amazonaws/services/appstream/model/CreateUpdatedImageRequest.java