code: private Retrofit.Builder setEndpoint(Retrofit.Builder retrofitBuilder, String endpoint) {
      if (endpoint != null) {
        return retrofitBuilder.baseUrl(endpoint);
      }
      return retrofitBuilder;
    }
docs: Configures CMA core endpoint.