public void setCategory(String category) {
    this.category = category;
  }
Set the component category.

@param category  the category
ambari-server/src/main/java/org/apache/ambari/server/controller/ServiceComponentResponse.java