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 Details

    • 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.