src/States/Retrier.cs
/// <summary>
///     OPTIONAL. Max number of retry attempts this retrier can perform. The default value is 3 if not specified.
///     <p>
///         Note that
///         0 is a legal value for MaxAttempts and represents that the error should not be retried.
///     </p>
/// </summary>
/// <param name="maxAttempts">Number of max attempts. Non-negative integer.</param>
/// <returns> This object for method chaining.</returns>
OPTIONAL. Max number of retry attempts this retrier can perform. The default value is 3 if not specified.

Note that
0 is a legal value for MaxAttempts and represents that the error should not be retried.
OPTIONAL . Max number of retry attempts this retrier can perform . The default value is 3 if not specified . Note that 0 is a legal value for MaxAttempts and represents that the error should not be retried .
public Builder MaxAttempts(int maxAttempts)
            {
                _maxAttempts = maxAttempts;
                return this;
            }
public Builder MaxAttempts ( int maxAttempts ) { _maxAttempts = maxAttempts ; return this ; }
OPTIONAL.
OPTIONAL .
This object for method chaining.
This object for method chaining .
maxAttempts
int
Number of max attempts. Non-negative integer.
Number of max attempts . Non - negative integer .