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

        if (obj instanceof UpdateGeneratedTemplateRequest == false)
            return false;
        UpdateGeneratedTemplateRequest other = (UpdateGeneratedTemplateRequest) obj;
        if (other.getGeneratedTemplateName() == null ^ this.getGeneratedTemplateName() == null)
            return false;
        if (other.getGeneratedTemplateName() != null && other.getGeneratedTemplateName().equals(this.getGeneratedTemplateName()) == false)
            return false;
        if (other.getNewGeneratedTemplateName() == null ^ this.getNewGeneratedTemplateName() == null)
            return false;
        if (other.getNewGeneratedTemplateName() != null && other.getNewGeneratedTemplateName().equals(this.getNewGeneratedTemplateName()) == false)
            return false;
        if (other.getAddResources() == null ^ this.getAddResources() == null)
            return false;
        if (other.getAddResources() != null && other.getAddResources().equals(this.getAddResources()) == false)
            return false;
        if (other.getRemoveResources() == null ^ this.getRemoveResources() == null)
            return false;
        if (other.getRemoveResources() != null && other.getRemoveResources().equals(this.getRemoveResources()) == false)
            return false;
        if (other.getRefreshAllResources() == null ^ this.getRefreshAllResources() == null)
            return false;
        if (other.getRefreshAllResources() != null && other.getRefreshAllResources().equals(this.getRefreshAllResources()) == false)
            return false;
        if (other.getTemplateConfiguration() == null ^ this.getTemplateConfiguration() == null)
            return false;
        if (other.getTemplateConfiguration() != null && other.getTemplateConfiguration().equals(this.getTemplateConfiguration()) == 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-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/UpdateGeneratedTemplateRequest.java