@Generated(value="software.amazon.awssdk:codegen") public final class ContainerServiceHealthCheckConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContainerServiceHealthCheckConfig.Builder,ContainerServiceHealthCheckConfig>
Describes the health check configuration of an Amazon Lightsail container service.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ContainerServiceHealthCheckConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ContainerServiceHealthCheckConfig.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 health checks successes required before moving the container to the
Healthy state. |
Integer |
intervalSeconds()
The approximate interval, in seconds, between health checks of an individual container.
|
String |
path()
The path on the container on which to perform the health check.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ContainerServiceHealthCheckConfig.Builder> |
serializableBuilderClass() |
String |
successCodes()
The HTTP codes to use when checking for a successful response from a container.
|
Integer |
timeoutSeconds()
The amount of time, in seconds, during which no response means a failed health check.
|
ContainerServiceHealthCheckConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
unhealthyThreshold()
The number of consecutive health check failures required before moving the container to the
Unhealthy state. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer healthyThreshold()
The number of consecutive health checks successes required before moving the container to the
Healthy state. The default value is 2.
Healthy state. The default value is 2.public final Integer unhealthyThreshold()
The number of consecutive health check failures required before moving the container to the
Unhealthy state. The default value is 2.
Unhealthy state. The default value is 2.public final Integer timeoutSeconds()
The amount of time, in seconds, during which no response means a failed health check. You can specify between 2
and 60 seconds. The default value is 2.
2.public final Integer intervalSeconds()
The approximate interval, in seconds, between health checks of an individual container. You can specify between 5
and 300 seconds. The default value is 5.
5.public final String path()
The path on the container on which to perform the health check. The default value is /.
/.public final String successCodes()
The HTTP codes to use when checking for a successful response from a container. You can specify values between
200 and 499. You can specify multiple values (for example, 200,202) or a
range of values (for example, 200-299).
200 and 499. You can specify multiple values (for example,
200,202) or a range of values (for example, 200-299).public ContainerServiceHealthCheckConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ContainerServiceHealthCheckConfig.Builder,ContainerServiceHealthCheckConfig>public static ContainerServiceHealthCheckConfig.Builder builder()
public static Class<? extends ContainerServiceHealthCheckConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.