code: @Deprecated
    public static void setComponentRam(Map<String, Object> conf,
                                       String component, long ramInBytes) {
      setComponentRam(conf, component, ByteAmount.fromBytes(ramInBytes));
    }
docs: Users should use the version of this method at uses ByteAmount
  @deprecated use
  setComponentRam(Map&lt;String, Object&gt; conf, String component, ByteAmount ramInBytes)