code: @CheckForNull
      public RestartPolicy getRestartPolicy() {
          if (isNull(policyName)) return null;
  
          return RestartPolicy.parse(String.format("%s:%d",
                  policyName.toString().toLowerCase(Locale.ENGLISH).replace("_", "-"), getMaximumRetryCount()));
      }
docs: runtime ABI dependency on docker-java