maxAttempts

Sets the maximum number of retry attempts.

Return

the updated builder instance.

Parameters

maxAttempts

the maximum number of retry attempts.