Interface AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder,
,AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails> SdkBuilder<AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder,
,AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails> SdkPojo
- Enclosing class:
AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails
public static interface AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder
extends SdkPojo, CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder,AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe command that the container runs to determine whether it is healthy.command
(Collection<String> command) The command that the container runs to determine whether it is healthy.The time period in seconds between each health check execution.The number of times to retry a failed health check before the container is considered unhealthy.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.The time period in seconds to wait for a health check to succeed before it is considered a failure.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
command
AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder command(Collection<String> command) The command that the container runs to determine whether it is healthy.
- Parameters:
command
- The command that the container runs to determine whether it is healthy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
command
The command that the container runs to determine whether it is healthy.
- Parameters:
command
- The command that the container runs to determine whether it is healthy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interval
The time period in seconds between each health check execution. The default value is 30 seconds.
- Parameters:
interval
- The time period in seconds between each health check execution. The default value is 30 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retries
The number of times to retry a failed health check before the container is considered unhealthy. The default value is 3.
- Parameters:
retries
- The number of times to retry a failed health check before the container is considered unhealthy. The default value is 3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startPeriod
The optional grace period in seconds that allows containers time to bootstrap before failed health checks count towards the maximum number of retries.
- Parameters:
startPeriod
- The optional grace period in seconds that allows containers time to bootstrap before failed health checks count towards the maximum number of retries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-