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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Buildercommand(String... command)The command that the container runs to determine whether it is healthy.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Buildercommand(Collection<String> command)The command that the container runs to determine whether it is healthy.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builderinterval(Integer interval)The time period in seconds between each health check execution.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builderretries(Integer retries)The number of times to retry a failed health check before the container is considered unhealthy.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.BuilderstartPeriod(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.Buildertimeout(Integer timeout)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 Detail
-
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
AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder command(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.
-
interval
AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder interval(Integer 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
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.
- 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
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.
- 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
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.
- 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.
-
-