Class IngressRule.Jsii$Proxy

  • All Implemented Interfaces:
    IngressRule, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    IngressRule

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

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

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.fasterxml.jackson.databind.JsonNode $jsii$toJson()  
      boolean equals​(Object o)  
      IngressBackend getBackend()
      Backend defines the referenced service endpoint to which the traffic will be forwarded to.
      String getHost()
      Host is the fully qualified domain name of a network host, as defined by RFC 3986.
      String getPath()
      Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request.
      HttpIngressPathType getPathType()
      Specify how the path is matched against request paths.
      int hashCode()  
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
    • Constructor Detail

      • 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.
    • Method Detail

      • getBackend

        public final IngressBackend getBackend()
        Description copied from interface: IngressRule
        Backend defines the referenced service endpoint to which the traffic will be forwarded to.
        Specified by:
        getBackend in interface IngressRule
      • getHost

        public final String getHost()
        Description copied from interface: IngressRule
        Host is the fully qualified domain name of a network host, as defined by RFC 3986.

        Note the following deviations from the "host" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The : delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue.

        Default: - If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.

        Specified by:
        getHost in interface IngressRule
      • getPath

        public final String getPath()
        Description copied from interface: IngressRule
        Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'.

        Default: - If unspecified, the path defaults to a catch all sending traffic to the backend.

        Specified by:
        getPath in interface IngressRule
      • $jsii$toJson

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

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