@Override
  public String toString(){
    StringBuilder sb = new StringBuilder("{")
      .append("componentName=").append(componentName)
      .append(", serviceName=").append(serviceName)
      .append(", desiredState=").append(desiredState)
      .append("}");
    return sb.toString();
  }
Creates {@link RecoveryConfigComponent} instance from initialized {@link ServiceComponentHost}
ambari-server/src/main/java/org/apache/ambari/server/agent/RecoveryConfigComponent.java