Class HttpRetryPolicy.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class HttpRetryPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HttpRetryPolicy
An implementation for HttpRetryPolicy
  • 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(HttpRetryPolicy.Builder builder)
      Constructor that initializes the object based on literal property values passed by the HttpRetryPolicy.Builder.
  • Method Details

    • getRetryAttempts

      public final Number getRetryAttempts()
      Description copied from interface: HttpRetryPolicy
      The maximum number of retry attempts.
      Specified by:
      getRetryAttempts in interface HttpRetryPolicy
    • getRetryTimeout

      public final Duration getRetryTimeout()
      Description copied from interface: HttpRetryPolicy
      The timeout for each retry attempt.
      Specified by:
      getRetryTimeout in interface HttpRetryPolicy
    • getHttpRetryEvents

      public final List<HttpRetryEvent> getHttpRetryEvents()
      Description copied from interface: HttpRetryPolicy
      Specify HTTP events on which to retry.

      You must specify at least one value for at least one types of retry events.

      Default: - no retries for http events

      Specified by:
      getHttpRetryEvents in interface HttpRetryPolicy
    • getTcpRetryEvents

      public final List<TcpRetryEvent> getTcpRetryEvents()
      Description copied from interface: HttpRetryPolicy
      TCP events on which to retry.

      The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable. You must specify at least one value for at least one types of retry events.

      Default: - no retries for tcp events

      Specified by:
      getTcpRetryEvents in interface HttpRetryPolicy
    • $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