@Generated(value="software.amazon.awssdk:codegen") public final class CreateHealthCheckRequest extends Route53Request implements ToCopyableBuilder<CreateHealthCheckRequest.Builder,CreateHealthCheckRequest>
A complex type that contains the health check request information.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateHealthCheckRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateHealthCheckRequest.Builder |
builder() |
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: |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
HealthCheckConfig |
healthCheckConfig()
A complex type that contains the response to a
CreateHealthCheck request. |
static Class<? extends CreateHealthCheckRequest.Builder> |
serializableBuilderClass() |
CreateHealthCheckRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public 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.
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.
public HealthCheckConfig healthCheckConfig()
A complex type that contains the response to a CreateHealthCheck
request.
CreateHealthCheck
request.public CreateHealthCheckRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateHealthCheckRequest.Builder,CreateHealthCheckRequest>
toBuilder
in class Route53Request
public static CreateHealthCheckRequest.Builder builder()
public static Class<? extends CreateHealthCheckRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.