public static interface AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder,AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder |
command(Collection<String> command)
The command that the container runs to determine whether it is healthy.
|
AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder |
command(String... command)
The command that the container runs to determine whether it is healthy.
|
AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder |
interval(Integer interval)
The time period in seconds between each health check execution.
|
AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder |
retries(Integer retries)
The number of times to retry a failed health check before the container is considered unhealthy.
|
AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder |
startPeriod(Integer startPeriod)
The optional grace period in seconds that allows containers time to bootstrap before failed health checks
count towards the maximum number of retries.
|
AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder |
timeout(Integer timeout)
The time period in seconds to wait for a health check to succeed before it is considered a failure.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder command(Collection<String> command)
The command that the container runs to determine whether it is healthy.
command - The command that the container runs to determine whether it is healthy.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder command(String... command)
The command that the container runs to determine whether it is healthy.
command - The command that the container runs to determine whether it is healthy.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder interval(Integer interval)
The time period in seconds between each health check execution. The default value is 30 seconds.
interval - The time period in seconds between each health check execution. The default value is 30 seconds.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder retries(Integer retries)
The number of times to retry a failed health check before the container is considered unhealthy. The default value is 3.
retries - The number of times to retry a failed health check before the container is considered unhealthy. The
default value is 3.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder startPeriod(Integer startPeriod)
The optional grace period in seconds that allows containers time to bootstrap before failed health checks count towards the maximum number of retries.
startPeriod - The optional grace period in seconds that allows containers time to bootstrap before failed health
checks count towards the maximum number of retries.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder timeout(Integer timeout)
The time period in seconds to wait for a health check to succeed before it is considered a failure. The default value is 5.
timeout - The time period in seconds to wait for a health check to succeed before it is considered a failure.
The default value is 5.Copyright © 2023. All rights reserved.