public Resource.Type getType() {
    return m_type;
  }
Obtain the sub-resource type.

@return  the sub-resource type
ambari-server/src/main/java/org/apache/ambari/server/api/resources/SubResourceDefinition.java