@Override
  public void debugDump(StringBuilder sb) {
    sb.append("Service={ serviceName=").append(getName())
        .append(", clusterName=").append(cluster.getClusterName())
        .append(", clusterId=").append(cluster.getClusterId())
        .append(", desiredStackVersion=").append(getDesiredStackId())
        .append(", desiredState=").append(getDesiredState())
        .append(", components=[ ");
    boolean first = true;
    for (ServiceComponent sc : components.values()) {
      if (!first) {
        sb.append(" , ");
      }
      first = false;
      sb.append("\n      ");
      sc.debugDump(sb);
      sb.append(" ");
    }
    sb.append(" ] }");
  }
Set a true or false value specifying whether this
service is to be enabled for credential store use.

@param credentialStoreEnabled - true or false
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceImpl.java