code: public JmxServerBuilder environmentProperties(Properties environmentProperties) {
          HashMap<String, Object> properties = new HashMap<>(environmentProperties.size());
          for (Map.Entry<Object, Object> entry : environmentProperties.entrySet()) {
              properties.put(entry.getKey().toString(), entry.getValue());
          }
  
          endpoint.getEndpointConfiguration().setEnvironmentProperties(properties);
          return this;
      }
docs: Sets the environment properties.
  @param environmentProperties
  @return