@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ApplicationRoles that = (ApplicationRoles) o;
        if (!applicationHostRole.equals(that.applicationHostRole)) return false;
        return applicationContainerRole.equals(that.applicationContainerRole);
    }
@return an ApplicationRoles instance if both hostRole and containerRole is non-empty, <code>null</code> otherwise
config-model-api/src/main/java/com/yahoo/config/model/api/ApplicationRoles.java