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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HealthCheckConfiguration.BuilderhealthyThreshold(Integer healthyThreshold)The number of consecutive checks that must succeed before App Runner decides that the service is healthy.HealthCheckConfiguration.Builderinterval(Integer interval)The time interval, in seconds, between health checks.HealthCheckConfiguration.Builderpath(String path)The URL that health check requests are sent to.HealthCheckConfiguration.Builderprotocol(String protocol)The IP protocol that App Runner uses to perform health checks for your service.HealthCheckConfiguration.Builderprotocol(HealthCheckProtocol protocol)The IP protocol that App Runner uses to perform health checks for your service.HealthCheckConfiguration.Buildertimeout(Integer timeout)The time, in seconds, to wait for a health check response before deciding it failed.HealthCheckConfiguration.BuilderunhealthyThreshold(Integer unhealthyThreshold)The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
protocol
HealthCheckConfiguration.Builder protocol(String protocol)
The IP protocol that App Runner uses to perform health checks for your service.
If you set
ProtocoltoHTTP, App Runner sends health check requests to the HTTP path specified byPath.Default:
TCP- Parameters:
protocol- The IP protocol that App Runner uses to perform health checks for your service.If you set
ProtocoltoHTTP, App Runner sends health check requests to the HTTP path specified byPath.Default:
TCP- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HealthCheckProtocol,HealthCheckProtocol
-
protocol
HealthCheckConfiguration.Builder protocol(HealthCheckProtocol protocol)
The IP protocol that App Runner uses to perform health checks for your service.
If you set
ProtocoltoHTTP, App Runner sends health check requests to the HTTP path specified byPath.Default:
TCP- Parameters:
protocol- The IP protocol that App Runner uses to perform health checks for your service.If you set
ProtocoltoHTTP, App Runner sends health check requests to the HTTP path specified byPath.Default:
TCP- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HealthCheckProtocol,HealthCheckProtocol
-
path
HealthCheckConfiguration.Builder path(String path)
The URL that health check requests are sent to.
Pathis only applicable when you setProtocoltoHTTP.Default:
"/"- Parameters:
path- The URL that health check requests are sent to.Pathis only applicable when you setProtocoltoHTTP.Default:
"/"- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interval
HealthCheckConfiguration.Builder interval(Integer 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
HealthCheckConfiguration.Builder timeout(Integer 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.
-
-