Class OriginFailoverConfig.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class OriginFailoverConfig.Jsii$Proxy extends implements OriginFailoverConfig
An implementation for OriginFailoverConfig
  • Constructor Details

    • Jsii$Proxy

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

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

    • getFailoverOrigin

      public final IOrigin getFailoverOrigin()
      Description copied from interface: OriginFailoverConfig
      The origin to use as the fallback origin.
      Specified by:
      getFailoverOrigin in interface OriginFailoverConfig
    • getStatusCodes

      public final List<Number> getStatusCodes()
      Description copied from interface: OriginFailoverConfig
      The HTTP status codes of the response that trigger querying the failover Origin.

      Default: - 500, 502, 503 and 504

      Specified by:
      getStatusCodes in interface OriginFailoverConfig
    • $jsii$toJson

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

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

      public final int hashCode()
      hashCode in class Object