Class Retry.RetryBuilder

  • Enclosing class:
    Retry

    public static class Retry.RetryBuilder
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Retry build()  
      Retry.RetryBuilder endsOn​(java.time.Instant endsOn)
      A timestamp that details the date on which the retry schedule expires, in ISO 8601 format.
      Retry.RetryBuilder maxAttempts​(java.lang.Integer maxAttempts)
      Default: 6 The maximum number of authorization retry attempts, excluding the initial authorization.
      Retry.RetryBuilder nextAttemptOn​(java.time.Instant nextAttemptOn)
      A timestamp of the date on which the next authorization attempt will take place, in ISO 8601 format.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • maxAttempts

        public Retry.RetryBuilder maxAttempts​(java.lang.Integer maxAttempts)
        Default: 6 The maximum number of authorization retry attempts, excluding the initial authorization. [Optional] [ 1 .. 15 ]
        Returns:
        this.
      • endsOn

        public Retry.RetryBuilder endsOn​(java.time.Instant endsOn)
        A timestamp that details the date on which the retry schedule expires, in ISO 8601 format. [Optional]
        Returns:
        this.
      • nextAttemptOn

        public Retry.RetryBuilder nextAttemptOn​(java.time.Instant nextAttemptOn)
        A timestamp of the date on which the next authorization attempt will take place, in ISO 8601 format. [Optional]
        Returns:
        this.
      • build

        public Retry build()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object