Class OriginGroupProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class OriginGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements OriginGroupProps
An implementation for OriginGroupProps
  • 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.cloudfront.origins.OriginGroupProps

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the OriginGroupProps.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 IOrigin
    The fallback origin that should serve requests when the primary fails.
    final List<Number>
    The list of HTTP status codes that, when returned from the primary origin, would cause querying the fallback origin.
    final IOrigin
    The primary origin that should serve requests for this group.
    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(OriginGroupProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the OriginGroupProps.Builder.
  • Method Details

    • getFallbackOrigin

      public final IOrigin getFallbackOrigin()
      Description copied from interface: OriginGroupProps
      The fallback origin that should serve requests when the primary fails.
      Specified by:
      getFallbackOrigin in interface OriginGroupProps
    • getPrimaryOrigin

      public final IOrigin getPrimaryOrigin()
      Description copied from interface: OriginGroupProps
      The primary origin that should serve requests for this group.
      Specified by:
      getPrimaryOrigin in interface OriginGroupProps
    • getFallbackStatusCodes

      public final List<Number> getFallbackStatusCodes()
      Description copied from interface: OriginGroupProps
      The list of HTTP status codes that, when returned from the primary origin, would cause querying the fallback origin.

      Default: - 500, 502, 503 and 504

      Specified by:
      getFallbackStatusCodes in interface OriginGroupProps
    • $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