Class ServiceIngressBackendOptions.Jsii$Proxy

    • 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

      • getPort

        public final Number getPort()
        Description copied from interface: ServiceIngressBackendOptions
        The port to use to access the service.

        • This option will fail if the service does not expose any ports.
        • If the service exposes multiple ports, this option must be specified.
        • If the service exposes a single port, this option is optional and if specified, it must be the same port exposed by the service.

        Default: - if the service exposes a single port, this port will be used.

        Specified by:
        getPort in interface ServiceIngressBackendOptions
      • $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