Class ContainerAppProbeHttpGet


  • public final class ContainerAppProbeHttpGet
    extends Object
    HTTPGet specifies the http request to perform.
    • Constructor Detail

      • ContainerAppProbeHttpGet

        public ContainerAppProbeHttpGet()
    • Method Detail

      • host

        public String host()
        Get the host property: Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
        Returns:
        the host value.
      • withHost

        public ContainerAppProbeHttpGet withHost​(String host)
        Set the host property: Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
        Parameters:
        host - the host value to set.
        Returns:
        the ContainerAppProbeHttpGet object itself.
      • withHttpHeaders

        public ContainerAppProbeHttpGet withHttpHeaders​(List<ContainerAppProbeHttpGetHttpHeadersItem> httpHeaders)
        Set the httpHeaders property: Custom headers to set in the request. HTTP allows repeated headers.
        Parameters:
        httpHeaders - the httpHeaders value to set.
        Returns:
        the ContainerAppProbeHttpGet object itself.
      • path

        public String path()
        Get the path property: Path to access on the HTTP server.
        Returns:
        the path value.
      • withPath

        public ContainerAppProbeHttpGet withPath​(String path)
        Set the path property: Path to access on the HTTP server.
        Parameters:
        path - the path value to set.
        Returns:
        the ContainerAppProbeHttpGet object itself.
      • port

        public int port()
        Get the port property: 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.
        Returns:
        the port value.
      • withPort

        public ContainerAppProbeHttpGet withPort​(int port)
        Set the port property: 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.
        Parameters:
        port - the port value to set.
        Returns:
        the ContainerAppProbeHttpGet object itself.
      • scheme

        public Scheme scheme()
        Get the scheme property: Scheme to use for connecting to the host. Defaults to HTTP.
        Returns:
        the scheme value.
      • withScheme

        public ContainerAppProbeHttpGet withScheme​(Scheme scheme)
        Set the scheme property: Scheme to use for connecting to the host. Defaults to HTTP.
        Parameters:
        scheme - the scheme value to set.
        Returns:
        the ContainerAppProbeHttpGet object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.