code: public ServiceBuilder withStreamSegmentStore(Function<ComponentSetup, StreamSegmentStore> streamSegmentStoreCreator) {
          Preconditions.checkNotNull(streamSegmentStoreCreator, "streamSegmentStoreCreator");
          this.streamSegmentStoreCreator = streamSegmentStoreCreator;
          return this;
      }
docs: Attaches the given StreamSegmentStore creator to this ServiceBuilder. The given Function will not be invoked
  right away; it will be called when needed.
  
  @param streamSegmentStoreCreator The Function to attach.
  @return This ServiceBuilder.