@Override
  public String toString() {
    String className = getClass().getName();
    int index = className.lastIndexOf('.');
    className = className.substring(index + 1);

    return className
        + " host="
        + getHost()
        + " workingDirectory="
        + getWorkingDirectory()
        + " productDirectory="
        + getProductDirectory()
        + " remoteCommand=\""
        + getRemoteCommand()
        + "\"";
  }
Validates this configuration.

@throws IllegalStateException If this config is not valid
geode-core/src/main/java/org/apache/geode/admin/internal/ManagedEntityConfigImpl.java