Package com.pulumi.aws.appmesh.inputs
Class VirtualGatewaySpecListenerHealthCheckArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.appmesh.inputs.VirtualGatewaySpecListenerHealthCheckArgs.Builder
-
- Enclosing class:
- VirtualGatewaySpecListenerHealthCheckArgs
public static final class VirtualGatewaySpecListenerHealthCheckArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(VirtualGatewaySpecListenerHealthCheckArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VirtualGatewaySpecListenerHealthCheckArgs defaults)
-
-
Method Detail
-
healthyThreshold
public VirtualGatewaySpecListenerHealthCheckArgs.Builder healthyThreshold(com.pulumi.core.Output<java.lang.Integer> healthyThreshold)
- Parameters:
healthyThreshold- Number of consecutive successful health checks that must occur before declaring listener healthy.- Returns:
- builder
-
healthyThreshold
public VirtualGatewaySpecListenerHealthCheckArgs.Builder healthyThreshold(java.lang.Integer healthyThreshold)
- Parameters:
healthyThreshold- Number of consecutive successful health checks that must occur before declaring listener healthy.- Returns:
- builder
-
intervalMillis
public VirtualGatewaySpecListenerHealthCheckArgs.Builder intervalMillis(com.pulumi.core.Output<java.lang.Integer> intervalMillis)
- Parameters:
intervalMillis- Time period in milliseconds between each health check execution.- Returns:
- builder
-
intervalMillis
public VirtualGatewaySpecListenerHealthCheckArgs.Builder intervalMillis(java.lang.Integer intervalMillis)
- Parameters:
intervalMillis- Time period in milliseconds between each health check execution.- Returns:
- builder
-
path
public VirtualGatewaySpecListenerHealthCheckArgs.Builder path(@Nullable com.pulumi.core.Output<java.lang.String> path)
- Parameters:
path- Destination path for the health check request. This is only required if the specified protocol is `http` or `http2`.- Returns:
- builder
-
path
public VirtualGatewaySpecListenerHealthCheckArgs.Builder path(java.lang.String path)
- Parameters:
path- Destination path for the health check request. This is only required if the specified protocol is `http` or `http2`.- Returns:
- builder
-
port
public VirtualGatewaySpecListenerHealthCheckArgs.Builder port(@Nullable com.pulumi.core.Output<java.lang.Integer> port)
- Parameters:
port- Destination port for the health check request. This port must match the port defined in the `portMapping` for the listener.- Returns:
- builder
-
port
public VirtualGatewaySpecListenerHealthCheckArgs.Builder port(java.lang.Integer port)
- Parameters:
port- Destination port for the health check request. This port must match the port defined in the `portMapping` for the listener.- Returns:
- builder
-
protocol
public VirtualGatewaySpecListenerHealthCheckArgs.Builder protocol(com.pulumi.core.Output<java.lang.String> protocol)
- Parameters:
protocol- Protocol for the health check request. Valid values are `http`, `http2`, and `grpc`.- Returns:
- builder
-
protocol
public VirtualGatewaySpecListenerHealthCheckArgs.Builder protocol(java.lang.String protocol)
- Parameters:
protocol- Protocol for the health check request. Valid values are `http`, `http2`, and `grpc`.- Returns:
- builder
-
timeoutMillis
public VirtualGatewaySpecListenerHealthCheckArgs.Builder timeoutMillis(com.pulumi.core.Output<java.lang.Integer> timeoutMillis)
- Parameters:
timeoutMillis- Amount of time to wait when receiving a response from the health check, in milliseconds.- Returns:
- builder
-
timeoutMillis
public VirtualGatewaySpecListenerHealthCheckArgs.Builder timeoutMillis(java.lang.Integer timeoutMillis)
- Parameters:
timeoutMillis- Amount of time to wait when receiving a response from the health check, in milliseconds.- Returns:
- builder
-
unhealthyThreshold
public VirtualGatewaySpecListenerHealthCheckArgs.Builder unhealthyThreshold(com.pulumi.core.Output<java.lang.Integer> unhealthyThreshold)
- Parameters:
unhealthyThreshold- Number of consecutive failed health checks that must occur before declaring a virtual gateway unhealthy.- Returns:
- builder
-
unhealthyThreshold
public VirtualGatewaySpecListenerHealthCheckArgs.Builder unhealthyThreshold(java.lang.Integer unhealthyThreshold)
- Parameters:
unhealthyThreshold- Number of consecutive failed health checks that must occur before declaring a virtual gateway unhealthy.- Returns:
- builder
-
build
public VirtualGatewaySpecListenerHealthCheckArgs build()
-
-