code: public static <C extends AbstractEndpointConfiguration> MonitoredEndpoint<C> of(C endpointConfiguration,
              SSLContext sslContext) {
          return new MonitoredEndpoint<C>(endpointConfiguration, sslContext);
      }
docs: Returns a new {@link MonitoredEndpoint} using name and {@link ConnectionData} from the given
  {@code endpointConfiguration}.
  
  @param endpointConfiguration the configuration to read from when creating the result
  @param sslContext the {@link SSLContext} to associate with the result or {@code null} if no context should be
  associated
  @return a new {@link MonitoredEndpoint}