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

        if (obj instanceof EnvironmentRevision == false)
            return false;
        EnvironmentRevision other = (EnvironmentRevision) obj;
        if (other.getCounts() == null ^ this.getCounts() == null)
            return false;
        if (other.getCounts() != null && other.getCounts().equals(this.getCounts()) == false)
            return false;
        if (other.getEnvironmentRevisionId() == null ^ this.getEnvironmentRevisionId() == null)
            return false;
        if (other.getEnvironmentRevisionId() != null && other.getEnvironmentRevisionId().equals(this.getEnvironmentRevisionId()) == false)
            return false;
        if (other.getInstanceGroup() == null ^ this.getInstanceGroup() == null)
            return false;
        if (other.getInstanceGroup() != null && other.getInstanceGroup().equals(this.getInstanceGroup()) == false)
            return false;
        if (other.getTaskDefinition() == null ^ this.getTaskDefinition() == null)
            return false;
        if (other.getTaskDefinition() != null && other.getTaskDefinition().equals(this.getTaskDefinition()) == false)
            return false;
        return true;
    }
Returns a string representation of this object; useful for testing and debugging.

@return A string representation of this object.

@see java.lang.Object#toString()
frontend-service-client/src/main/java/com/amazonaws/blox/model/EnvironmentRevision.java