@Override
  public Collection<String> getUpdateDirectives() {
    // return a collection which can be modified by sub resources
    return directives.get(DirectiveType.UPDATE);
  }
Constructor.

@param resourceType the resource type
@param subTypes     the sub-resource types
@param directives   a map of directives for request types for this resource
ambari-server/src/main/java/org/apache/ambari/server/api/resources/BaseResourceDefinition.java