Class RetryProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.RetryProps.Jsii$Proxy
All Implemented Interfaces:
RetryProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
RetryProps

@Stability(Stable) @Internal public static final class RetryProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RetryProps
An implementation for RetryProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.stepfunctions.RetryProps

    RetryProps.Builder, RetryProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the RetryProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Number
    Multiplication for how much longer the wait interval gets on every retry.
    final List<String>
    Errors to retry.
    final Duration
    How many seconds to wait initially before retrying.
    Introduces a randomization over the retry interval.
    final Number
    How many times to retry this particular error.
    final Duration
    Maximum limit on retry interval growth during exponential backoff.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(RetryProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the RetryProps.Builder.
  • Method Details

    • getBackoffRate

      public final Number getBackoffRate()
      Description copied from interface: RetryProps
      Multiplication for how much longer the wait interval gets on every retry.

      Default: 2

      Specified by:
      getBackoffRate in interface RetryProps
    • getErrors

      public final List<String> getErrors()
      Description copied from interface: RetryProps
      Errors to retry.

      A list of error strings to retry, which can be either predefined errors (for example Errors.NoChoiceMatched) or a self-defined error.

      Default: All errors

      Specified by:
      getErrors in interface RetryProps
    • getInterval

      public final Duration getInterval()
      Description copied from interface: RetryProps
      How many seconds to wait initially before retrying.

      Default: Duration.seconds(1)

      Specified by:
      getInterval in interface RetryProps
    • getJitterStrategy

      public final JitterType getJitterStrategy()
      Description copied from interface: RetryProps
      Introduces a randomization over the retry interval.

      Default: - No jitter strategy

      Specified by:
      getJitterStrategy in interface RetryProps
    • getMaxAttempts

      public final Number getMaxAttempts()
      Description copied from interface: RetryProps
      How many times to retry this particular error.

      May be 0 to disable retry for specific errors (in case you have a catch-all retry policy).

      Default: 3

      Specified by:
      getMaxAttempts in interface RetryProps
    • getMaxDelay

      public final Duration getMaxDelay()
      Description copied from interface: RetryProps
      Maximum limit on retry interval growth during exponential backoff.

      Default: - No max delay

      Specified by:
      getMaxDelay in interface RetryProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object