@Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("{" + " clusterName=").append(clusterName)
      .append(", serviceName=").append(serviceName)
      .append(", componentName=").append(componentName)
      .append(", hostname=").append(hostname)
      .append(", publicHostname=").append(publicHostname)
      .append(", desiredState=").append(desiredState)
      .append(", state=").append(state)
      .append(", desiredStackId=").append(desiredStackId)
      .append(", staleConfig=").append(staleConfig)
      .append(", adminState=").append(adminState)
      .append(", maintenanceState=").append(maintenanceState)
      .append("}");
    return sb.toString();
  }
@return the admin state of the component
ambari-server/src/main/java/org/apache/ambari/server/controller/ServiceComponentHostRequest.java