Class HttpGetAction.Jsii$Proxy

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

    @Stability(Stable)
    @Internal
    public static final class HttpGetAction.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements HttpGetAction
    An implementation for HttpGetAction
    • 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 IntOrString getPort()
        Description copied from interface: HttpGetAction
        Name or number of the port to access on the container.

        Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

        Specified by:
        getPort in interface HttpGetAction
      • getHost

        public final String getHost()
        Description copied from interface: HttpGetAction
        Host name to connect to, defaults to the pod IP.

        You probably want to set "Host" in httpHeaders instead.

        Specified by:
        getHost in interface HttpGetAction
      • getScheme

        public final String getScheme()
        Description copied from interface: HttpGetAction
        Scheme to use for connecting to the host.

        Defaults to HTTP.

        Default: HTTP.

        Specified by:
        getScheme in interface HttpGetAction
      • $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