protected ResourceInstance createSettingResource(String settingName) {
    return createResource(Resource.Type.Setting,
        Collections.singletonMap(Resource.Type.Setting, settingName));
  }
Create a setting resource instance.

@param settingName setting name

@return a setting resource instance
ambari-server/src/main/java/org/apache/ambari/server/api/services/SettingService.java