Interface ContainerHealthCheck.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ContainerHealthCheck.Builder,,- ContainerHealthCheck> - SdkBuilder<ContainerHealthCheck.Builder,,- ContainerHealthCheck> - SdkPojo
- Enclosing class:
- ContainerHealthCheck
public static interface ContainerHealthCheck.Builder
extends SdkPojo, CopyableBuilder<ContainerHealthCheck.Builder,ContainerHealthCheck> 
- 
Method SummaryModifier and TypeMethodDescriptionA string array that specifies the command that the container runs to determine if it's healthy.command(Collection<String> command) A string array that specifies the command that the container runs to determine if it's healthy.The time period (in seconds) between each health check.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) to give a container time to bootstrap before the first failed health check counts toward the number of retries.The time period (in seconds) to wait for a health check to succeed before a failed health check is counted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
commandA string array that specifies the command that the container runs to determine if it's healthy. - Parameters:
- command- A string array that specifies the command that the container runs to determine if it's healthy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
commandA string array that specifies the command that the container runs to determine if it's healthy. - Parameters:
- command- A string array that specifies the command that the container runs to determine if it's healthy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
intervalThe time period (in seconds) between each health check. - Parameters:
- interval- The time period (in seconds) between each health check.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timeoutThe time period (in seconds) to wait for a health check to succeed before a failed health check is counted. - Parameters:
- timeout- The time period (in seconds) to wait for a health check to succeed before a failed health check is counted.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
retriesThe number of times to retry a failed health check before the container is considered unhealthy. The first run of the command does not count as a retry. - Parameters:
- retries- The number of times to retry a failed health check before the container is considered unhealthy. The first run of the command does not count as a retry.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
startPeriodThe optional grace period (in seconds) to give a container time to bootstrap before the first failed health check counts toward the number of retries. - Parameters:
- startPeriod- The optional grace period (in seconds) to give a container time to bootstrap before the first failed health check counts toward the number of retries.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-