Class RetryableTrait.Builder

    • Method Summary

      Modifier and Type Method Description
      RetryableTrait build()
      Creates an immutable object that is created from the properties that have been set on the builder.
      RetryableTrait.Builder throttling​(boolean throttling)
      Indicates if the retry is considered a throttle.
      • Methods inherited from class java.lang.Object

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

      • build

        public RetryableTrait build()
        Description copied from interface: SmithyBuilder
        Creates an immutable object that is created from the properties that have been set on the builder.
        Returns:
        an instance of T
      • throttling

        public RetryableTrait.Builder throttling​(boolean throttling)
        Indicates if the retry is considered a throttle.
        Parameters:
        throttling - Set to true if the retry is a throttle.
        Returns:
        Returns the builder.