Package com.pulumi.aws.lightsail.inputs
Class ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.lightsail.inputs.ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder
-
- Enclosing class:
- ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs
public static final class ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs defaults)
-
-
Method Detail
-
healthyThreshold
public ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder healthyThreshold(@Nullable com.pulumi.core.Output<java.lang.Integer> healthyThreshold)
- Parameters:
healthyThreshold
- The number of consecutive health checks successes required before moving the container to the Healthy state. Defaults to 2.- Returns:
- builder
-
healthyThreshold
public ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder healthyThreshold(java.lang.Integer healthyThreshold)
- Parameters:
healthyThreshold
- The number of consecutive health checks successes required before moving the container to the Healthy state. Defaults to 2.- Returns:
- builder
-
intervalSeconds
public ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder intervalSeconds(@Nullable com.pulumi.core.Output<java.lang.Integer> intervalSeconds)
- Parameters:
intervalSeconds
- The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. Defaults to 5.- Returns:
- builder
-
intervalSeconds
public ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder intervalSeconds(java.lang.Integer intervalSeconds)
- Parameters:
intervalSeconds
- The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. Defaults to 5.- Returns:
- builder
-
path
public ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder path(@Nullable com.pulumi.core.Output<java.lang.String> path)
- Parameters:
path
- The path on the container on which to perform the health check. Defaults to "/".- Returns:
- builder
-
path
public ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder path(java.lang.String path)
- Parameters:
path
- The path on the container on which to perform the health check. Defaults to "/".- Returns:
- builder
-
successCodes
public ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder successCodes(@Nullable com.pulumi.core.Output<java.lang.String> successCodes)
- Parameters:
successCodes
- The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. Defaults to "200-499".- Returns:
- builder
-
successCodes
public ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder successCodes(java.lang.String successCodes)
- Parameters:
successCodes
- The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. Defaults to "200-499".- Returns:
- builder
-
timeoutSeconds
public ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder timeoutSeconds(@Nullable com.pulumi.core.Output<java.lang.Integer> timeoutSeconds)
- Parameters:
timeoutSeconds
- The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. Defaults to 2.- Returns:
- builder
-
timeoutSeconds
public ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder timeoutSeconds(java.lang.Integer timeoutSeconds)
- Parameters:
timeoutSeconds
- The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. Defaults to 2.- Returns:
- builder
-
unhealthyThreshold
public ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder unhealthyThreshold(@Nullable com.pulumi.core.Output<java.lang.Integer> unhealthyThreshold)
- Parameters:
unhealthyThreshold
- The number of consecutive health checks failures required before moving the container to the Unhealthy state. Defaults to 2.- Returns:
- builder
-
unhealthyThreshold
public ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.Builder unhealthyThreshold(java.lang.Integer unhealthyThreshold)
- Parameters:
unhealthyThreshold
- The number of consecutive health checks failures required before moving the container to the Unhealthy state. Defaults to 2.- Returns:
- builder
-
build
public ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs build()
-
-