func (cb *ContextBuilder) SetTimeoutPerAttempt(timeoutPerAttempt time.Duration) *ContextBuilder {
	if cb.RetryOptions == nil {
		cb.RetryOptions = &RetryOptions{}
	}
	cb.RetryOptions.TimeoutPerAttempt = timeoutPerAttempt
	return cb
}
func (cb *ContextBuilder) SetTimeoutPerAttempt(timeoutPerAttempt time.Duration) *ContextBuilder {
	if cb.RetryOptions == nil {
		cb.RetryOptions = &RetryOptions{}
	}
	cb.RetryOptions.TimeoutPerAttempt = timeoutPerAttempt
	return cb
}
func ( cb * ContextBuilder ) SetTimeoutPerAttempt ( timeoutPerAttempt time . Duration ) * ContextBuilder { if cb . RetryOptions == nil { cb . RetryOptions = & RetryOptions { } } cb . RetryOptions . TimeoutPerAttempt = timeoutPerAttempt return cb }
// SetTimeoutPerAttempt sets TimeoutPerAttempt in RetryOptions.
SetTimeoutPerAttempt sets TimeoutPerAttempt in RetryOptions .