@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
HealthCheckConfig |
healthCheckConfig()
A complex type that contains settings for a new health check.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateHealthCheckRequest.Builder> |
serializableBuilderClass() |
CreateHealthCheckRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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, 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, 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, Route 53 returns a HealthCheckAlreadyExists error.
If you send a CreateHealthCheck request with a unique CallerReference but settings
identical to an existing health check, 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, 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, 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, Route 53 returns a
HealthCheckAlreadyExists error.
If you send a CreateHealthCheck request with a unique CallerReference but
settings identical to an existing health check, Route 53 creates the health check.
public final HealthCheckConfig healthCheckConfig()
A complex type that contains settings for a new health check.
public CreateHealthCheckRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateHealthCheckRequest.Builder,CreateHealthCheckRequest>toBuilder in class Route53Requestpublic static CreateHealthCheckRequest.Builder builder()
public static Class<? extends CreateHealthCheckRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.