Class ComputeRegionHealthCheckSslHealthCheck.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • portName

        @Stability(Stable)
        public ComputeRegionHealthCheckSslHealthCheck.Builder portName​(String portName)
        Parameters:
        portName - 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_region_health_check#port_name ComputeRegionHealthCheck#port_name}
        Returns:
        this
      • portSpecification

        @Stability(Stable)
        public ComputeRegionHealthCheckSslHealthCheck.Builder portSpecification​(String portSpecification)
        Parameters:
        portSpecification - 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, SSL 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_region_health_check#port_specification ComputeRegionHealthCheck#port_specification}
        Returns:
        this
      • proxyHeader

        @Stability(Stable)
        public ComputeRegionHealthCheckSslHealthCheck.Builder proxyHeader​(String proxyHeader)
        Parameters:
        proxyHeader - 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_region_health_check#proxy_header ComputeRegionHealthCheck#proxy_header}
        Returns:
        this
      • request

        @Stability(Stable)
        public ComputeRegionHealthCheckSslHealthCheck.Builder request​(String request)
        Parameters:
        request - The application data to send once the SSL 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_region_health_check#request ComputeRegionHealthCheck#request}
        Returns:
        this
      • response

        @Stability(Stable)
        public ComputeRegionHealthCheckSslHealthCheck.Builder response​(String response)
        Parameters:
        response - 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_region_health_check#response ComputeRegionHealthCheck#response}
        Returns:
        this