@Override
  public String toString() {
    return MoreObjects.toStringHelper(this)
      .add(OPERATION_TYPE, operationType)
      .add(VALIDATION, validationType)
      .add(CONFIG_RECOMMENDATION_STRATEGY, recommendationStrategy)
      .add(PROVISION_ACTION_PROPERTY, provisionAction)
      .add(STACK_NAME, stackName)
      .add(STACK_VERSION, stackVersion)
      .add(SERVICES, services)
      .add(COMPONENTS, components)
      .add(CONFIGURATIONS, configuration)
      .add(SECURITY, security)
      // credentials is not part of string output
      .toString();
  }
Data object representing an add service request.
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/AddServiceRequest.java