Interface HealthCheckConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<HealthCheckConfiguration.Builder,HealthCheckConfiguration>, SdkBuilder<HealthCheckConfiguration.Builder,HealthCheckConfiguration>, SdkPojo
Enclosing class:
HealthCheckConfiguration

public static interface HealthCheckConfiguration.Builder extends SdkPojo, CopyableBuilder<HealthCheckConfiguration.Builder,HealthCheckConfiguration>
  • Method Details

    • protocol

      The IP protocol that App Runner uses to perform health checks for your service.

      If you set Protocol to HTTP, App Runner sends health check requests to the HTTP path specified by Path.

      Default: TCP

      Parameters:
      protocol - The IP protocol that App Runner uses to perform health checks for your service.

      If you set Protocol to HTTP, App Runner sends health check requests to the HTTP path specified by Path.

      Default: TCP

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • protocol

      The IP protocol that App Runner uses to perform health checks for your service.

      If you set Protocol to HTTP, App Runner sends health check requests to the HTTP path specified by Path.

      Default: TCP

      Parameters:
      protocol - The IP protocol that App Runner uses to perform health checks for your service.

      If you set Protocol to HTTP, App Runner sends health check requests to the HTTP path specified by Path.

      Default: TCP

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • path

      The URL that health check requests are sent to.

      Path is only applicable when you set Protocol to HTTP.

      Default: "/"

      Parameters:
      path - The URL that health check requests are sent to.

      Path is only applicable when you set Protocol to HTTP.

      Default: "/"

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • interval

      The time interval, in seconds, between health checks.

      Default: 5

      Parameters:
      interval - The time interval, in seconds, between health checks.

      Default: 5

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeout

      The time, in seconds, to wait for a health check response before deciding it failed.

      Default: 2

      Parameters:
      timeout - The time, in seconds, to wait for a health check response before deciding it failed.

      Default: 2

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • healthyThreshold

      HealthCheckConfiguration.Builder healthyThreshold(Integer healthyThreshold)

      The number of consecutive checks that must succeed before App Runner decides that the service is healthy.

      Default: 1

      Parameters:
      healthyThreshold - The number of consecutive checks that must succeed before App Runner decides that the service is healthy.

      Default: 1

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unhealthyThreshold

      HealthCheckConfiguration.Builder unhealthyThreshold(Integer unhealthyThreshold)

      The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.

      Default: 5

      Parameters:
      unhealthyThreshold - The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.

      Default: 5

      Returns:
      Returns a reference to this object so that method calls can be chained together.