code: public RetryerBuilder<V> withStopStrategy(@Nonnull StopStrategy stopStrategy) throws IllegalStateException {
          Preconditions.checkNotNull(stopStrategy, "stopStrategy may not be null");
          Preconditions.checkState(this.stopStrategy == null, "a stop strategy has already been set %s", this.stopStrategy);
          this.stopStrategy = stopStrategy;
          return this;
      }
docs: Sets the stop strategy used to decide when to stop retrying. The default strategy is to not stop at all .
  
  @param stopStrategy the strategy used to decide when to stop retrying
  @return <code>this</code>
  @throws IllegalStateException if a stop strategy has already been set.