Package com.pulumi.gcp.compute.inputs
Class HealthCheckHttpHealthCheckArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.compute.inputs.HealthCheckHttpHealthCheckArgs.Builder
-
- Enclosing class:
- HealthCheckHttpHealthCheckArgs
public static final class HealthCheckHttpHealthCheckArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(HealthCheckHttpHealthCheckArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(HealthCheckHttpHealthCheckArgs defaults)
-
-
Method Detail
-
host
public HealthCheckHttpHealthCheckArgs.Builder host(@Nullable com.pulumi.core.Output<java.lang.String> host)
- Parameters:
host
- The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.- Returns:
- builder
-
host
public HealthCheckHttpHealthCheckArgs.Builder host(java.lang.String host)
- Parameters:
host
- The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.- Returns:
- builder
-
port
public HealthCheckHttpHealthCheckArgs.Builder port(@Nullable com.pulumi.core.Output<java.lang.Integer> port)
- Parameters:
port
- The TCP port number for the HTTP health check request. The default value is 80.- Returns:
- builder
-
port
public HealthCheckHttpHealthCheckArgs.Builder port(java.lang.Integer port)
- Parameters:
port
- The TCP port number for the HTTP health check request. The default value is 80.- Returns:
- builder
-
portName
public HealthCheckHttpHealthCheckArgs.Builder portName(@Nullable com.pulumi.core.Output<java.lang.String> portName)
- Parameters:
portName
- Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.- Returns:
- builder
-
portName
public HealthCheckHttpHealthCheckArgs.Builder portName(java.lang.String portName)
- Parameters:
portName
- Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.- Returns:
- builder
-
portSpecification
public HealthCheckHttpHealthCheckArgs.Builder portSpecification(@Nullable com.pulumi.core.Output<java.lang.String> portSpecification)
- Parameters:
portSpecification
- Specifies how port is selected for health checking, can be one of the following values:- Returns:
- builder
-
portSpecification
public HealthCheckHttpHealthCheckArgs.Builder portSpecification(java.lang.String portSpecification)
- Parameters:
portSpecification
- Specifies how port is selected for health checking, can be one of the following values:- Returns:
- builder
-
proxyHeader
public HealthCheckHttpHealthCheckArgs.Builder proxyHeader(@Nullable com.pulumi.core.Output<java.lang.String> proxyHeader)
- Parameters:
proxyHeader
- Specifies the type of proxy header to append before sending data to the backend. Default value is `NONE`. Possible values are: `NONE`, `PROXY_V1`.- Returns:
- builder
-
proxyHeader
public HealthCheckHttpHealthCheckArgs.Builder proxyHeader(java.lang.String proxyHeader)
- Parameters:
proxyHeader
- Specifies the type of proxy header to append before sending data to the backend. Default value is `NONE`. Possible values are: `NONE`, `PROXY_V1`.- Returns:
- builder
-
requestPath
public HealthCheckHttpHealthCheckArgs.Builder requestPath(@Nullable com.pulumi.core.Output<java.lang.String> requestPath)
- Parameters:
requestPath
- The request path of the HTTP health check request. The default value is /.- Returns:
- builder
-
requestPath
public HealthCheckHttpHealthCheckArgs.Builder requestPath(java.lang.String requestPath)
- Parameters:
requestPath
- The request path of the HTTP health check request. The default value is /.- Returns:
- builder
-
response
public HealthCheckHttpHealthCheckArgs.Builder response(@Nullable com.pulumi.core.Output<java.lang.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.- Returns:
- builder
-
response
public HealthCheckHttpHealthCheckArgs.Builder response(java.lang.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.- Returns:
- builder
-
build
public HealthCheckHttpHealthCheckArgs build()
-
-