Class GrpcRetryPolicy.Jsii$Proxy

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

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

    • getGrpcRetryEvents

      public final List<GrpcRetryEvent> getGrpcRetryEvents()
      Description copied from interface: GrpcRetryPolicy
      gRPC events on which to retry.

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

      Default: - no retries for gRPC events

      Specified by:
      getGrpcRetryEvents in interface GrpcRetryPolicy
    • 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