public Resource.Type getType() {
    return type;
  }
Get the resource type.

@return the resource type
ambari-server/src/main/java/org/apache/ambari/server/controller/spi/UnsupportedPropertyException.java