Sets whether retries are enabled.
the updated builder instance.
true to enable retries, false to disable.