public static interface CreateHealthCheckRequest.Builder extends Route53Request.Builder, CopyableBuilder<CreateHealthCheckRequest.Builder,CreateHealthCheckRequest>
Modifier and Type | Method and Description |
---|---|
CreateHealthCheckRequest.Builder |
callerReference(String callerReference)
A unique string that identifies the request and that allows you to retry a failed
CreateHealthCheck request without the risk of creating two identical health checks: |
default CreateHealthCheckRequest.Builder |
healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)
A complex type that contains the response to a
CreateHealthCheck request. |
CreateHealthCheckRequest.Builder |
healthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains the response to a
CreateHealthCheck request. |
CreateHealthCheckRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateHealthCheckRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
CreateHealthCheckRequest.Builder callerReference(String callerReference)
A unique string that identifies the request and that allows you to retry a failed
CreateHealthCheck
request without the risk of creating two identical health checks:
If you send a CreateHealthCheck
request with the same CallerReference
and settings
as a previous request, and if the health check doesn't exist, Amazon Route 53 creates the health check. If
the health check does exist, Amazon Route 53 returns the settings for the existing health check.
If you send a CreateHealthCheck
request with the same CallerReference
as a deleted
health check, regardless of the settings, Amazon Route 53 returns a HealthCheckAlreadyExists
error.
If you send a CreateHealthCheck
request with the same CallerReference
as an
existing health check but with different settings, Amazon Route 53 returns a
HealthCheckAlreadyExists
error.
If you send a CreateHealthCheck
request with a unique CallerReference
but settings
identical to an existing health check, Amazon Route 53 creates the health check.
callerReference
- A unique string that identifies the request and that allows you to retry a failed
CreateHealthCheck
request without the risk of creating two identical health checks:
If you send a CreateHealthCheck
request with the same CallerReference
and
settings as a previous request, and if the health check doesn't exist, Amazon Route 53 creates the
health check. If the health check does exist, Amazon Route 53 returns the settings for the existing
health check.
If you send a CreateHealthCheck
request with the same CallerReference
as a
deleted health check, regardless of the settings, Amazon Route 53 returns a
HealthCheckAlreadyExists
error.
If you send a CreateHealthCheck
request with the same CallerReference
as an
existing health check but with different settings, Amazon Route 53 returns a
HealthCheckAlreadyExists
error.
If you send a CreateHealthCheck
request with a unique CallerReference
but
settings identical to an existing health check, Amazon Route 53 creates the health check.
CreateHealthCheckRequest.Builder healthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains the response to a CreateHealthCheck
request.
healthCheckConfig
- A complex type that contains the response to a CreateHealthCheck
request.default CreateHealthCheckRequest.Builder healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)
A complex type that contains the response to a CreateHealthCheck
request.
HealthCheckConfig.Builder
avoiding the need to
create one manually via HealthCheckConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to healthCheckConfig(HealthCheckConfig)
.healthCheckConfig
- a consumer that will call methods on HealthCheckConfig.Builder
healthCheckConfig(HealthCheckConfig)
CreateHealthCheckRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateHealthCheckRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.