Interface RetryPolicy.Builder

  • Method Details

    • maximumRetryAttempts

      RetryPolicy.Builder maximumRetryAttempts(Integer maximumRetryAttempts)

      The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.

      Parameters:
      maximumRetryAttempts - The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maximumEventAgeInSeconds

      RetryPolicy.Builder maximumEventAgeInSeconds(Integer maximumEventAgeInSeconds)

      The maximum amount of time, in seconds, to continue to make retry attempts.

      Parameters:
      maximumEventAgeInSeconds - The maximum amount of time, in seconds, to continue to make retry attempts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.