public static interface HealthCheckConfig.Builder extends CopyableBuilder<HealthCheckConfig.Builder,HealthCheckConfig>
Modifier and Type | Method and Description |
---|---|
HealthCheckConfig.Builder |
failureThreshold(Integer failureThreshold)
The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the
current status of the endpoint from unhealthy to healthy or vice versa.
|
HealthCheckConfig.Builder |
resourcePath(String resourcePath)
The path that you want Amazon Route 53 to request when performing health checks.
|
HealthCheckConfig.Builder |
type(HealthCheckType type)
The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an
endpoint is healthy.
|
HealthCheckConfig.Builder |
type(String type)
The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an
endpoint is healthy.
|
copy
applyMutation, build
HealthCheckConfig.Builder type(String type)
The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an endpoint is healthy.
You can't change the value of Type
after you create a health check.
You can create the following types of health checks:
HTTP: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTP request and waits for an HTTP status code of 200 or greater and less than 400.
HTTPS: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTPS request and waits for an HTTP status code of 200 or greater and less than 400.
If you specify HTTPS for the value of Type
, the endpoint must support TLS v1.0 or later.
TCP: Amazon Route 53 tries to establish a TCP connection.
For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide.
type
- The type of health check that you want to create, which indicates how Amazon Route 53 determines
whether an endpoint is healthy.
You can't change the value of Type
after you create a health check.
You can create the following types of health checks:
HTTP: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTP request and waits for an HTTP status code of 200 or greater and less than 400.
HTTPS: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTPS request and waits for an HTTP status code of 200 or greater and less than 400.
If you specify HTTPS for the value of Type
, the endpoint must support TLS v1.0 or later.
TCP: Amazon Route 53 tries to establish a TCP connection.
For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide.
HealthCheckType
,
HealthCheckType
HealthCheckConfig.Builder type(HealthCheckType type)
The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an endpoint is healthy.
You can't change the value of Type
after you create a health check.
You can create the following types of health checks:
HTTP: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTP request and waits for an HTTP status code of 200 or greater and less than 400.
HTTPS: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTPS request and waits for an HTTP status code of 200 or greater and less than 400.
If you specify HTTPS for the value of Type
, the endpoint must support TLS v1.0 or later.
TCP: Amazon Route 53 tries to establish a TCP connection.
For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide.
type
- The type of health check that you want to create, which indicates how Amazon Route 53 determines
whether an endpoint is healthy.
You can't change the value of Type
after you create a health check.
You can create the following types of health checks:
HTTP: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTP request and waits for an HTTP status code of 200 or greater and less than 400.
HTTPS: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTPS request and waits for an HTTP status code of 200 or greater and less than 400.
If you specify HTTPS for the value of Type
, the endpoint must support TLS v1.0 or later.
TCP: Amazon Route 53 tries to establish a TCP connection.
For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide.
HealthCheckType
,
HealthCheckType
HealthCheckConfig.Builder resourcePath(String resourcePath)
The path that you want Amazon Route 53 to request when performing health checks. The path can be any value
for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, such as
the file /docs/route53-health-check.html
. Amazon Route 53 automatically adds the DNS name for
the service and a leading forward slash (/
) character.
resourcePath
- The path that you want Amazon Route 53 to request when performing health checks. The path can be any
value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is
healthy, such as the file /docs/route53-health-check.html
. Amazon Route 53 automatically
adds the DNS name for the service and a leading forward slash (/
) character.HealthCheckConfig.Builder failureThreshold(Integer failureThreshold)
The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa. For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide.
failureThreshold
- The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to
change the current status of the endpoint from unhealthy to healthy or vice versa. For more
information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer
Guide.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.