@Generated(value="software.amazon.awssdk:codegen") public final class HealthCheckConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HealthCheckConfiguration.Builder,HealthCheckConfiguration>
Describes the settings for the health check that App Runner performs to monitor the health of a service.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HealthCheckConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HealthCheckConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
healthyThreshold()
The number of consecutive checks that must succeed before App Runner decides that the service is healthy.
|
Integer |
interval()
The time interval, in seconds, between health checks.
|
String |
path()
The URL that health check requests are sent to.
|
HealthCheckProtocol |
protocol()
The IP protocol that App Runner uses to perform health checks for your service.
|
String |
protocolAsString()
The IP protocol that App Runner uses to perform health checks for your service.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HealthCheckConfiguration.Builder> |
serializableBuilderClass() |
Integer |
timeout()
The time, in seconds, to wait for a health check response before deciding it failed.
|
HealthCheckConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
unhealthyThreshold()
The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final HealthCheckProtocol 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
If the service returns an enum value that is not available in the current SDK version, protocol will
return HealthCheckProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from protocolAsString().
If you set Protocol to HTTP, App Runner sends health check requests to the HTTP
path specified by Path.
Default: TCP
HealthCheckProtocolpublic final String protocolAsString()
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
If the service returns an enum value that is not available in the current SDK version, protocol will
return HealthCheckProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from protocolAsString().
If you set Protocol to HTTP, App Runner sends health check requests to the HTTP
path specified by Path.
Default: TCP
HealthCheckProtocolpublic final String path()
The URL that health check requests are sent to.
Path is only applicable when you set Protocol to HTTP.
Default: "/"
Path is only applicable when you set Protocol to HTTP.
Default: "/"
public final Integer interval()
The time interval, in seconds, between health checks.
Default: 5
Default: 5
public final Integer timeout()
The time, in seconds, to wait for a health check response before deciding it failed.
Default: 2
Default: 2
public final Integer healthyThreshold()
The number of consecutive checks that must succeed before App Runner decides that the service is healthy.
Default: 1
Default: 1
public final Integer unhealthyThreshold()
The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.
Default: 5
Default: 5
public HealthCheckConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HealthCheckConfiguration.Builder,HealthCheckConfiguration>public static HealthCheckConfiguration.Builder builder()
public static Class<? extends HealthCheckConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.