docs: public RetryTemplateBuilder maxAttempts(int maxAttempts) {
  		Assert.isTrue(maxAttempts > 0, "Number of attempts should be positive");
  		Assert.isNull(this.baseRetryPolicy,
  				"You have already selected another retry policy");
  		this.baseRetryPolicy = new MaxAttemptsRetryPolicy(maxAttempts);
  		return this;
  	}