Class ComputeHealthCheckTcpHealthCheck.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: ComputeHealthCheckTcpHealthCheck
        The TCP port number for the TCP health check request. The default value is 443.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#port ComputeHealthCheck#port}

        Specified by:
        getPort in interface ComputeHealthCheckTcpHealthCheck
      • getPortName

        public final String getPortName()
        Description copied from interface: ComputeHealthCheckTcpHealthCheck
        Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#port_name ComputeHealthCheck#port_name}

        Specified by:
        getPortName in interface ComputeHealthCheckTcpHealthCheck
      • getPortSpecification

        public final String getPortSpecification()
        Description copied from interface: ComputeHealthCheckTcpHealthCheck
        Specifies how port is selected for health checking, can be one of the following values:.

        * 'USE_FIXED_PORT': The port number in 'port' is used for health checking. * 'USE_NAMED_PORT': The 'portName' is used for health checking. * 'USE_SERVING_PORT': For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, TCP health check follows behavior specified in 'port' and 'portName' fields. Possible values: ["USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#port_specification ComputeHealthCheck#port_specification}

        Specified by:
        getPortSpecification in interface ComputeHealthCheckTcpHealthCheck
      • getProxyHeader

        public final String getProxyHeader()
        Description copied from interface: ComputeHealthCheckTcpHealthCheck
        Specifies the type of proxy header to append before sending data to the backend.

        Default value: "NONE" Possible values: ["NONE", "PROXY_V1"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#proxy_header ComputeHealthCheck#proxy_header}

        Specified by:
        getProxyHeader in interface ComputeHealthCheckTcpHealthCheck
      • getRequest

        public final String getRequest()
        Description copied from interface: ComputeHealthCheckTcpHealthCheck
        The application data to send once the TCP connection has been established (default value is empty).

        If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#request ComputeHealthCheck#request}

        Specified by:
        getRequest in interface ComputeHealthCheckTcpHealthCheck
      • getResponse

        public final String getResponse()
        Description copied from interface: ComputeHealthCheckTcpHealthCheck
        The bytes to match against the beginning of the response data.

        If left empty (the default value), any response will indicate health. The response data can only be ASCII. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#response ComputeHealthCheck#response}

        Specified by:
        getResponse in interface ComputeHealthCheckTcpHealthCheck
      • $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